/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/Common/Math/ |
H A D | Vector2_X86.h | 27 void Set( const fp4 _x, const fp4 _y ); 32 fp4 Len() const; 33 fp4 RLen() const; 34 fp4 RLenFast() const; 35 fp4 LenSqr() const; 52 fp4 m_X, m_Y; 63 inline CVector2_x86::CVector2_x86( const fp4 _x, const fp4 _y ) : m_X(_x), m_Y(_y) in CVector2_x86() 81 inline void CVector2_x86::Set( const fp4 _x, const fp4 _y ) in Set() 137 fp4 l = RLen(); in Normalize() 148 fp4 l = RLenFast(); in NormalizeFast() [all …]
|
H A D | Matrix4x4_x86.h | 31 CMatrix4x4_x86( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m14, 32 fp4 _m21, fp4 _m22, fp4 _m23, fp4 _m24, 33 fp4 _m31, fp4 _m32, fp4 _m33, fp4 _m34, 34 fp4 _m41, fp4 _m42, fp4 _m43, fp4 _m44); 39 void Set( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m14, 40 fp4 _m21, fp4 _m22, fp4 _m23, fp4 _m24, 41 fp4 _m31, fp4 _m32, fp4 _m33, fp4 _m34, 42 fp4 _m41, fp4 _m42, fp4 _m43, fp4 _m44 ); 125 fp4 _m21, fp4 _m22, fp4 _m23, fp4 _m24, in CMatrix4x4_x86() 126 fp4 _m31, fp4 _m32, fp4 _m33, fp4 _m34, in CMatrix4x4_x86() [all …]
|
H A D | Matrix3x3_x86.h | 32 …CMatrix3x3_x86( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m21, fp4 _m22, fp4 _m23, fp4 _m31, fp4 _m32, fp… 39 …void Set( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m21, fp4 _m22, fp4 _m23, fp4 _m31, fp4 _m32, fp4 _m33… 131 …ne CMatrix3x3_x86::CMatrix3x3_x86( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m21, fp4 _m22, fp4 _m23, fp4… in CMatrix3x3_x86() 175 inline void CMatrix3x3_x86::Set( fp4 _m11, fp4 _m12, fp4 _m13, fp4 _m21, fp4 _m22, fp4 _m23, fp4 _… in Set() 250 fp4 s, c; in Rotate_X() 266 fp4 s, c; in Rotate_Y() 282 fp4 s, c; in Rotate_Z() 298 fp4 sa, ca; in Rotate_LX() 313 fp4 sa, ca; in Rotate_LY() 327 fp4 sa, ca; in Rotate_LZ() [all …]
|
H A D | Vector3_X86.h | 22 CVector3_x86( const fp4 _x, const fp4 _y, const fp4 _z ); 26 void Set( const fp4 _x, const fp4 _y, const fp4 _z ); 30 fp4 Len() const; 69 fp4 m_X; 70 fp4 m_Y; 71 fp4 m_Z; 82 inline CVector3_x86::CVector3_x86( const fp4 _x, const fp4 _y, const fp4 _z) : m_X(_x), m_Y(_y), m_… in CVector3_x86() 94 inline void CVector3_x86::Set( const fp4 _x, const fp4 _y, const fp4 _z ) in Set() 144 fp4 l = RLen(); in Normalize() 214 fp4 rotM[9]; in Rotate() [all …]
|
H A D | Vector4_X86.h | 24 CVector4_x86( const fp4 _x, const fp4 _y, const fp4 _z, const fp4 _w = 0.0f ); 29 void Set( const fp4 _x, const fp4 _y, const fp4 _z, const fp4 _w ); 34 fp4 Len() const; 36 fp4 RLen() const; 78 fp4 m_X; 79 fp4 m_Y; 80 fp4 m_Z; 81 fp4 m_W; 92 inline CVector4_x86::CVector4_x86( const fp4 _x, const fp4 _y, const fp4 _z, const fp4 _w ) : m_X(_… in CVector4_x86() 110 inline void CVector4_x86::Set( const fp4 _x, const fp4 _y, const fp4 _z, const fp4 _w ) in Set() [all …]
|
H A D | Rect.h | 21 CRect( fp4 _w, fp4 _h ); 22 CRect( fp4 _x0, fp4 _y0, fp4 _x1, fp4 _y1 ); 29 fp4 Width() const; 30 fp4 Height() const; 37 fp4 Aspect( void ) const; 38 fp4 Area( void ) const; 52 fp4 m_X0, m_Y0; 53 fp4 m_X1, m_Y1; 71 inline CRect::CRect( fp4 _w, fp4 _h ) : m_X0(0), m_Y0(0), m_X1(_w), m_Y1(_h) in CRect() 77 inline CRect::CRect( fp4 _x0, fp4 _y0, fp4 _x1, fp4 _y1 ) : m_X0(_x0), m_Y0(_y0), m_X1(_x1), m_Y1(_… in CRect() [all …]
|
H A D | fastbez.h | 26 fp4 m_Curve[4]; 29 CFastBezier( fp4 _a, fp4 _b, fp4 _c, fp4 _d ) in CFastBezier() 37 inline fp4 Sample( const fp4 _time ) const in Sample() 39 fp4 a[3]; in Sample() 40 fp4 b[2]; in Sample() 41 fp4 res; in Sample()
|
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/Common/ |
H A D | MathBase.h | 86 inline void SinCos( const fp4 _angle, fp4 *_pSin, fp4 *_pCos ) in SinCos() 89 *_pSin = (fp4)sinf( _angle ); in SinCos() 90 *_pCos = (fp4)cosf( _angle ); in SinCos() 105 inline fp4 Sqrt( const fp4 _f ) in Sqrt() 113 inline fp4 RSqrt( const fp4 _f ) in RSqrt() 120 inline fp4 RSqrtFast( fp4 _v ) in RSqrtFast() 125 const fp4 v_half = _v * 0.5f; in RSqrtFast() 128 _v = *(fp4 *) &i; in RSqrtFast()
|
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/DisplayOutput/DirectX/ |
H A D | RendererDX.cpp | 353 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in Text() 354 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in Text() 396 fp4 dispWidth = (fp4)m_spDisplay->Width(); in GetTextExtent() 397 fp4 dispHeight = (fp4)m_spDisplay->Height(); in GetTextExtent() 457 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawQuad() 458 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in DrawQuad() 504 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawSoftQuad() 505 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in DrawSoftQuad() 513 Q( const fp4 _x, const fp4 _y, const fp4 _tx, const fp4 _ty, const uint32 _c ) in DrawSoftQuad() 594 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawQuad() [all …]
|
/dports/devel/blitz/blitz-1.0.2/examples/ |
H A D | qcd.cpp | 116 fm fp4,fp5,fp28 120 fm fp4,fp27,fp5 123 fma fp4,fp8,fp28,fp4 125 fa fp0,fp0,fp4 131 fm fp4,fp2,fp13 140 fms fp4,fp6,fp30,fp4 145 fa fp2,fp4,fp2 186 fa fp1,fp2,fp4 217 fa fp4,fp4,fp25 227 fma fp4,fp11,fp8,fp4 [all …]
|
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/DisplayOutput/OpenGL/ |
H A D | RendererGL.cpp | 425 fp4 textwidth = 0.0f; in GetTextExtent() 469 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawQuad() 470 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in DrawQuad() 495 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawQuad() 496 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in DrawQuad() 553 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in DrawSoftQuad() 554 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in DrawSoftQuad() 557 fp4 x0 = r.m_X0; in DrawSoftQuad() 558 fp4 y0 = r.m_Y0; in DrawSoftQuad() 559 fp4 x1 = r.m_X1; in DrawSoftQuad() [all …]
|
H A D | FontGL.h | 29 fp4 tex_x1, tex_y1, tex_x2; 30 fp4 advance; 38 fp4 m_lineHeight; 40 fp4 m_texLineHeight; 52 fp4 LineHeight( void ) const; 54 fp4 TexLineHeight( void ) const; 56 fp4 CharWidth( uint8 c ) const; 58 fp4 StringWidth( const std::string& str ) const;
|
H A D | FontGL.cpp | 98 m_texLineHeight = static_cast<fp4>(m_lineHeight) / (fp4)height; in Create() 114 m_glyphs[i].tex_x1 = static_cast<fp4>(buffer.x) / (fp4)width; in Create() 115 m_glyphs[i].tex_x2 = static_cast<fp4>(buffer.x + buffer.width) / (fp4)width; in Create() 116 m_glyphs[i].tex_y1 = static_cast<fp4>(buffer.y) / (fp4)height; in Create() 148 fp4 CFontGL::LineHeight() const in LineHeight() 153 fp4 CFontGL::TexLineHeight() const in TexLineHeight() 158 fp4 CFontGL::CharWidth(uint8 c) const in CharWidth() 166 fp4 CFontGL::StringWidth(const std::string& str) const in StringWidth() 168 fp4 total = 0.0; in StringWidth()
|
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/Client/ |
H A D | Splash.h | 21 …CSplash( const fp4 _size, const std::string &_texture ) : CHudEntry( Base::Math::CRect(_size, _siz… in CSplash() 31 fp4 aspect = g_Player().Display()->Aspect(); in CSplash() 69 const fp4 s = m_pSizeBezier->Sample( fp4(m_Delta) ); in Render() 75 …Base::Math::CVector4( 1,1,1, Base::Math::saturate( m_pAlphaBezier->Sample( fp4(m_Delta) ) ) ), m_s… in Render() 86 fp4 m_FadeinTime; 87 fp4 m_HoldTime; 88 fp4 m_FadeoutTime; 90 …CSplashImage( const fp4 _size, const std::string &_texture, fp4 fadeintime, fp4 holdtime, fp4 fade… in CSplashImage() 100 fp4 aspect = g_Player().Display()->Aspect(); in CSplashImage() 158 spRenderer->DrawQuad( r, Base::Math::CVector4( 1,1,1, fp4(alpha) ), m_spTexture->GetRect() ); in Render()
|
H A D | CubicFrameDisplay.h | 15 fp4 m_LastAlpha; 29 fp4 MitchellNetravali( const fp4 _x, const fp4 _B, const fp4 _C ) in MitchellNetravali() 193 fp4 currentalpha = m_LastAlpha; in Update() 250 currentalpha = (fp4)Base::Math::Clamped(m_LastAlpha + in Update() 336 const fp4 B = 1.0f; in Update() 337 const fp4 C = 0.0f; in Update() 340 …_spShader->Set( "weights", MitchellNetravali( fp4(m_InterframeDelta) + 1.f, B, C ), MitchellNetrav… in Update() 341 …MitchellNetravali( 1.f - fp4(m_InterframeDelta), B, C ), MitchellNetravali( 2.f - fp4(m_Interframe… in Update()
|
H A D | FrameDisplay.h | 24 fp4 m_LastAlpha; 28 fp4 m_CurTexMoveOff; 30 fp4 m_CurTexMoveDir; 220 fp4 currentalpha = m_LastAlpha; in Update() 252 currentalpha = (fp4)Base::Math::Clamped(m_LastAlpha + in Update() 272 fp4 transCoef = m_MetaData.m_TransitionProgress / 100.0f; in Update() 307 fp4 r1 = (fp4)m_dispSize.Width() / (fp4)m_dispSize.Height(); in UpdateTexRect() 308 fp4 r2 = texDim.Width() / texDim.Height(); in UpdateTexRect() 317 fp4 bars = (r1 - r2) / (2 * r1); in UpdateTexRect() 334 fp4 *a = NULL, *b = NULL; in UpdateTexRect()
|
/dports/science/cdf/cdf33_0-dist/src/lib/ |
H A D | cdfed.c | 2425 fp4e = (fp4->e1 << 4) | fp4->e0; 2454 fp4mH = (fp4->m6 << 16) | (fp4->m5 << 8) | fp4->m4; 2455 fp4mL = (fp4->m3 << 24) | (fp4->m2 << 16) | (fp4->m1 << 8) | fp4->m0; 2535 fp4e = (fp4->e1 << 4) | fp4->e0; 2543 fp4mH = (fp4->m6 << 16) | (fp4->m5 << 8) | fp4->m4; 2544 fp4mL = (fp4->m3 << 24) | (fp4->m2 << 16) | (fp4->m1 << 8) | fp4->m0; 2624 fp4e = (fp4->e1 << 4) | fp4->e0; 2662 Fp3.m1 = (fp4->m1 << 3) | (fp4->m0 >> 5); 2663 Fp3.m2 = (fp4->m2 << 3) | (fp4->m1 >> 5); 2664 Fp3.m3 = (fp4->m3 << 3) | (fp4->m2 >> 5); [all …]
|
/dports/audio/mctoolame-decoder/mctoolamed-01a/ |
H A D | musicout.c | 92 FILE *fp4=NULL; in main() local 801 fp4 = fopen ("INFODEC", "w+"); in main() 816 fprintf (fp4, in main() 824 fprintf (fp4, "lay = %d, ", info.lay); in main() 833 fprintf (fp4, "mode = %d, ", info.mode); in main() 842 fprintf (fp4, "lfe = %d\n", info.lfe); in main() 861 fprintf (fp4, " \n"); in main() 865 fprintf (fp4, " \n"); in main() 902 fprintf (fp4, "\n"); in main() 961 fflush (fp4); in main() [all …]
|
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/MSVC/ |
H A D | RendererDD.cpp | 85 fp4 dispWidth = (fp4)m_spDisplay->Width(); in GetTextExtent() 86 fp4 dispHeight = (fp4)m_spDisplay->Height(); in GetTextExtent() 126 result = Base::Math::CVector2( (fp4(width) / dispWidth), (fp4(height) / dispHeight) ); in GetTextExtent() 139 const fp4 w05 = (fp4)m_spDisplay->Width() * 0.5f; in Text() 140 const fp4 h05 = (fp4)m_spDisplay->Height() * 0.5f; in Text()
|
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.ada/ |
H A D | fixed_points.exp | 84 set fp4 "= 2e-07" 85 gdb_test "print fp4_var" $fp4 86 gdb_test "print fp4_var * 1" $fp4 87 gdb_test "print 1 * fp4_var" $fp4 88 gdb_test "print fp4_var / 1" $fp4
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gfortran.dg/ |
H A D | quad_2.f90 | 15 real(qp) :: fp1, fp2, fp3, fp4 variable 33 read (str3, *) fp4 34 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) call abort() 35 read (str4, *) fp4 36 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) call abort()
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/ |
H A D | quad_2.f90 | 15 real(qp) :: fp1, fp2, fp3, fp4 variable 33 read (str3, *) fp4 34 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 3 35 read (str4, *) fp4 36 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 4
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gfortran.dg/ |
H A D | quad_2.f90 | 15 real(qp) :: fp1, fp2, fp3, fp4 variable 33 read (str3, *) fp4 34 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 3 35 read (str4, *) fp4 36 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 4
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gfortran.dg/ |
H A D | quad_2.f90 | 15 real(qp) :: fp1, fp2, fp3, fp4 variable 33 read (str3, *) fp4 34 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 3 35 read (str4, *) fp4 36 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 4
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | quad_2.f90 | 15 real(qp) :: fp1, fp2, fp3, fp4 variable 33 read (str3, *) fp4 34 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 3 35 read (str4, *) fp4 36 if (abs (fp2 - fp4)/fp2 > epsilon(fp2)) STOP 4
|