Home
last modified time | relevance | path

Searched refs:fixed (Results 1 – 25 of 13994) sorted by relevance

12345678910>>...560

/dports/math/armadillo/armadillo-10.7.1/include/armadillo_bits/
H A Dtypedef_mat_fixed.hpp24 typedef umat::fixed<2,2> umat22;
60 typedef mat::fixed<2,2> mat22;
61 typedef mat::fixed<3,3> mat33;
136 typedef vec::fixed<2> vec2;
137 typedef vec::fixed<3> vec3;
138 typedef vec::fixed<4> vec4;
139 typedef vec::fixed<5> vec5;
140 typedef vec::fixed<6> vec6;
141 typedef vec::fixed<7> vec7;
142 typedef vec::fixed<8> vec8;
[all …]
/dports/math/R-cran-RcppArmadillo/RcppArmadillo/inst/include/armadillo_bits/
H A Dtypedef_mat_fixed.hpp24 typedef umat::fixed<2,2> umat22;
60 typedef mat::fixed<2,2> mat22;
61 typedef mat::fixed<3,3> mat33;
136 typedef vec::fixed<2> vec2;
137 typedef vec::fixed<3> vec3;
138 typedef vec::fixed<4> vec4;
139 typedef vec::fixed<5> vec5;
140 typedef vec::fixed<6> vec6;
141 typedef vec::fixed<7> vec7;
142 typedef vec::fixed<8> vec8;
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/20_util/to_chars/
H A Ddouble.cc81 {0.0, chars_format::fixed, "0"},
1865 {1e84, chars_format::fixed,
1867 {1e85, chars_format::fixed,
1869 {1e86, chars_format::fixed,
1871 {1e87, chars_format::fixed,
1873 {1e88, chars_format::fixed,
1875 {1e89, chars_format::fixed,
1877 {1e90, chars_format::fixed,
1879 {1e91, chars_format::fixed,
1881 {1e92, chars_format::fixed,
[all …]
H A Dfloat.cc81 {0.0f, chars_format::fixed, "0"},
82 {-0.0f, chars_format::fixed, "-0"},
324 {7e0f, chars_format::fixed, "7"},
325 {7e1f, chars_format::fixed, "70"},
339 {1e0f, chars_format::fixed, "1"},
340 {1e1f, chars_format::fixed, "10"},
679 {1e-23f, chars_format::fixed, 99,
681 {1e-22f, chars_format::fixed, 97,
683 {1e-21f, chars_format::fixed, 88,
685 {1e-20f, chars_format::fixed, 87,
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/20_util/to_chars/
H A Ddouble.cc81 {0.0, chars_format::fixed, "0"},
1865 {1e84, chars_format::fixed,
1867 {1e85, chars_format::fixed,
1869 {1e86, chars_format::fixed,
1871 {1e87, chars_format::fixed,
1873 {1e88, chars_format::fixed,
1875 {1e89, chars_format::fixed,
1877 {1e90, chars_format::fixed,
1879 {1e91, chars_format::fixed,
1881 {1e92, chars_format::fixed,
[all …]
H A Dfloat.cc81 {0.0f, chars_format::fixed, "0"},
82 {-0.0f, chars_format::fixed, "-0"},
324 {7e0f, chars_format::fixed, "7"},
325 {7e1f, chars_format::fixed, "70"},
339 {1e0f, chars_format::fixed, "1"},
340 {1e1f, chars_format::fixed, "10"},
679 {1e-23f, chars_format::fixed, 99,
681 {1e-22f, chars_format::fixed, 97,
683 {1e-21f, chars_format::fixed, 88,
685 {1e-20f, chars_format::fixed, 87,
[all …]
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/20_util/to_chars/
H A Ddouble.cc81 {0.0, chars_format::fixed, "0"},
1865 {1e84, chars_format::fixed,
1867 {1e85, chars_format::fixed,
1869 {1e86, chars_format::fixed,
1871 {1e87, chars_format::fixed,
1873 {1e88, chars_format::fixed,
1875 {1e89, chars_format::fixed,
1877 {1e90, chars_format::fixed,
1879 {1e91, chars_format::fixed,
1881 {1e92, chars_format::fixed,
[all …]
H A Dfloat.cc81 {0.0f, chars_format::fixed, "0"},
82 {-0.0f, chars_format::fixed, "-0"},
324 {7e0f, chars_format::fixed, "7"},
325 {7e1f, chars_format::fixed, "70"},
339 {1e0f, chars_format::fixed, "1"},
340 {1e1f, chars_format::fixed, "10"},
679 {1e-23f, chars_format::fixed, 99,
681 {1e-22f, chars_format::fixed, 97,
683 {1e-21f, chars_format::fixed, 88,
685 {1e-20f, chars_format::fixed, 87,
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/20_util/to_chars/
H A Ddouble.cc81 {0.0, chars_format::fixed, "0"},
1865 {1e84, chars_format::fixed,
1867 {1e85, chars_format::fixed,
1869 {1e86, chars_format::fixed,
1871 {1e87, chars_format::fixed,
1873 {1e88, chars_format::fixed,
1875 {1e89, chars_format::fixed,
1877 {1e90, chars_format::fixed,
1879 {1e91, chars_format::fixed,
1881 {1e92, chars_format::fixed,
[all …]
H A Dfloat.cc81 {0.0f, chars_format::fixed, "0"},
82 {-0.0f, chars_format::fixed, "-0"},
324 {7e0f, chars_format::fixed, "7"},
325 {7e1f, chars_format::fixed, "70"},
339 {1e0f, chars_format::fixed, "1"},
340 {1e1f, chars_format::fixed, "10"},
679 {1e-23f, chars_format::fixed, 99,
681 {1e-22f, chars_format::fixed, 97,
683 {1e-21f, chars_format::fixed, 88,
685 {1e-20f, chars_format::fixed, 87,
[all …]
/dports/games/scorched3d/scorched/src/common/common/
H A Dfixed.cpp33 fixed fixed::XPI = fixed(true,_XPI);
35 fixed fixed::X2PI = fixed(true,_X2PI);
37 fixed fixed::XPIO2 = fixed(true,_XPIO2);
144 fixed fixed::operator*(fixed b) in operator *()
149 fixed fixed::operator/(fixed b) in operator /()
155 fixed fixed::operator*=(fixed b) in operator *=()
161 fixed fixed::operator/=(fixed b) in operator /=()
293 fixed fixed::pow(fixed fixedPower) in pow()
303 fixed fixed::exp() in exp()
323 fixed fixed::log() in log()
[all …]
H A Dfixed.h44 fixed(const fixed& fixedVal) in fixed() function
156 fixed operator+(fixed b)
163 fixed operator-(fixed b)
228 fixed powx(fixed fixedVal, fixed fixedPower);
232 fixed sinx(fixed x);
233 fixed asinx(fixed x);
234 fixed cosx(fixed x);
235 fixed acosx(fixed x);
236 fixed tanx(fixed x);
237 fixed atanx(fixed x);
[all …]
/dports/databases/pgloader3/closer-mop-20210124-git/
H A Dfeatures.lisp11 (:extensible-allocation fixed)
16 (:make-method-lambda fixed)
45 (:extensible-allocation fixed)
50 (:make-method-lambda fixed)
79 (:make-method-lambda fixed)
98 (:make-method-lambda fixed)
125 (:anonymous-classes fixed)
200 (:make-method-lambda fixed)
247 (:make-method-lambda fixed)
323 ((:add-direct-method fixed)
[all …]
/dports/audio/libsidplay/libsidplay-1.36.60/src/
H A Dfixpoint.h48 inline friend fixed operator - (const fixed &a) { return fixed(-a.v, 0); }
49 …static inline fixed multiply(const fixed &a, const fixed &b) { return fixed((a.v>>8)*(b.v>>8),0); } in multiply()
50 static inline fixed divide(const fixed &a, const fixed &b) { return fixed((a.v<<8)/(b.v>>8),0); } in divide()
51 inline fixed operator *(const fixed &b) { return fixed((v>>8)*(b.v>>8),0); }
52 inline fixed operator /(const fixed &b) { return fixed((v<<8)/(b.v>>8),0); }
53 inline fixed operator +(const fixed &b) { return fixed(v+b.v,0); }
54 inline fixed operator -(const fixed &b) { return fixed(v-b.v,0); }
121 { return fixed::divide(a,fixed(b)); }
123 { return fixed::divide(a,fixed(b)); }
126 { return fixed::multiply(a,fixed(b)); }
[all …]
/dports/games/0ad/0ad-0.0.23b-alpha/source/maths/tests/
H A Dtest_Fixed.h28 fixed a = fixed::FromInt(12345); in test_basic()
39 fixed a = fixed::FromInt(123); in test_FromInt()
47 fixed a = fixed::FromFloat(123.125f); in test_FromFloat()
51 fixed b = fixed::FromFloat(-123.125f); in test_FromFloat()
67 fixed a = fixed::FromDouble(123.125); in test_FromDouble()
71 fixed b = fixed::FromDouble(-123.125); in test_FromDouble()
139 fixed f = fixed::FromDouble(i / 65536.0); in test_ToString()
212 TS_ASSERT_EQUALS(fixed::FromInt(0) % fixed::FromInt(4), fixed::FromInt(0)); in test_Mod()
213 TS_ASSERT_EQUALS(fixed::FromInt(0) % fixed::FromInt(-4), fixed::FromInt(0)); in test_Mod()
214 TS_ASSERT_EQUALS(fixed::FromInt(5) % fixed::FromInt(4), fixed::FromInt(1)); in test_Mod()
[all …]
H A Dtest_FixedVector3D.h37 CFixedVector3D v1 (fixed::FromInt(1), fixed::FromInt(2), fixed::FromInt(3)); in test_basic()
38 CFixedVector3D v2 (fixed::FromInt(10), fixed::FromInt(20), fixed::FromInt(30)); in test_basic()
57 CFixedVector3D v1 (fixed::FromInt(3), fixed::FromInt(4), fixed::FromInt(12)); in test_Length()
73 CFixedVector3D v0 (fixed::FromInt(0), fixed::FromInt(0), fixed::FromInt(0)); in test_Normalize()
77 CFixedVector3D v1 (fixed::FromInt(3), fixed::FromInt(4), fixed::FromInt(12)); in test_Normalize()
97 CFixedVector3D v (fixed::FromInt(0), fixed::FromInt(0), fixed::FromInt(0)); in test_NormalizeTo()
103 CFixedVector3D v (fixed::FromInt(3), fixed::FromInt(4), fixed::FromInt(12)); in test_NormalizeTo()
109 CFixedVector3D v (fixed::FromInt(3), fixed::FromInt(4), fixed::FromInt(12)); in test_NormalizeTo()
121 CFixedVector3D v (fixed::FromInt(3), fixed::FromInt(4), fixed::FromInt(12)); in test_NormalizeTo()
141 CFixedVector3D v1 (fixed::FromInt(5), fixed::FromInt(6), fixed::FromInt(7)); in test_Cross()
[all …]
/dports/x11-toolkits/gtkmathview/gtkmathview-0.8.0/src/common/
H A Dfixed.hh36 static fixed zero(void) { return fixed(0, true); } in zero()
48 template<typename S, int p> friend fixed<S,p> operator+(const fixed<S,p>&, const fixed<S,p>&);
49 template<typename S, int p> friend fixed<S,p> operator-(const fixed<S,p>&, const fixed<S,p>&);
51 template<typename S, int p> friend fixed<S,p> operator*(const fixed<S,p>&, const fixed<S,p>&);
61 template<typename S, int p> friend fixed<S,p>& operator+=(fixed<S,p>&, const fixed<S,p>&);
62 template<typename S, int p> friend fixed<S,p>& operator-=(fixed<S,p>&, const fixed<S,p>&);
127 operator+(const fixed<T,p>& f1, const fixed<T,p>& f2) in operator +()
132 operator-(const fixed<T,p>& f1, const fixed<T,p>& f2) in operator -()
142 operator*(const fixed<T,p>& f1, const fixed<T,p>& f2) in operator *()
198 operator+=(fixed<S,p>& f1, const fixed<S,p>& f2) in operator +=()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tools/
H A Dupdate_js.py26 fixed = fixed.replace('Module["print"](', 'out(') variable
27 fixed = fixed.replace('Module[\'print\'](', 'out(') variable
28 fixed = fixed.replace('Module.print(', 'out(') variable
30 fixed = fixed.replace('Module["printErr"](', 'err(') variable
31 fixed = fixed.replace('Module[\'printErr\'](', 'err(') variable
32 fixed = fixed.replace('Module.printErr(', 'err(') variable
34 fixed = fixed.replace(' = Module["print"]', ' = out') variable
36 fixed = fixed.replace('Module["print"] = ', 'out = ') variable
38 fixed = fixed.replace(' = Module.print', ' = out') variable
39 fixed = fixed.replace('Module.print = ', 'out = ') variable
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/src/fixmath/
H A Dfixmath.h23 fixed fixsqrt(fixed x);
24 fixed fixhypot(fixed x, fixed y);
25 fixed fixatan(fixed x);
26 fixed fixatan2(fixed y, fixed x);
47 inline fixed fixadd(fixed x, fixed y) { in fixadd()
68 inline fixed fixsub(fixed x, fixed y) { in fixsub()
89 inline fixed fixmul(fixed x, fixed y) { in fixmul()
93 inline fixed fixdiv(fixed x, fixed y) { in fixdiv()
127 inline fixed fixcos(fixed x) { in fixcos()
131 inline fixed fixsin(fixed x) { in fixsin()
[all …]
/dports/textproc/py-autopep8/autopep8-1.4.4/test/
H A Dtest_autopep8.py866 fixed = """\
889 fixed = """\
903 fixed = """\
917 fixed = """\
931 fixed = """\
947 fixed = """\
966 fixed = """\
2235 fixed = """
4315 fixed = ''
5042 fixed = ""
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ags/lib/allegro/
H A Dfixed.h31 typedef int32_t fixed; typedef
39 extern fixed fixadd(fixed x, fixed y);
40 extern fixed fixsub(fixed x, fixed y);
41 extern fixed fixmul(fixed x, fixed y);
42 extern fixed fixdiv(fixed x, fixed y);
45 extern fixed itofix(int x);
47 extern fixed fixcos(fixed x);
48 extern fixed fixsin(fixed x);
49 extern fixed fixtan(fixed x);
50 extern fixed fixacos(fixed x);
[all …]
/dports/games/scorched3d/scorched/src/common/tank/
H A DTankLib.cpp90 FixedVector position, fixed xy, fixed yz, fixed power, in intersection()
112 fixed &angleXYDegs, fixed &angleYZDegs, fixed &power, in getSniperShotTowardsPosition()
121 angleXYDegs = (angleXYRads / fixed::XPI) * fixed(180) - fixed(90); in getSniperShotTowardsPosition()
126 angleYZDegs = fixed(90) - ((angleYZRads /fixed::XPI) * fixed(180)); in getSniperShotTowardsPosition()
154 fixed &angleXYDegs, fixed &angleYZDegs, fixed &power) in getShotTowardsPosition()
159 angleXYDegs = (angleXYRads / fixed::XPI) * fixed(180) - fixed(90); in getShotTowardsPosition()
212 (-xy / fixed(180) * fixed::XPI).sin() * (yz / fixed(180) * fixed::XPI).cos(), in getVelocityVector()
213 (-xy / fixed(180) * fixed::XPI).cos() * (yz / fixed(180) * fixed::XPI).cos(), in getVelocityVector()
214 ( yz / fixed(180) * fixed::XPI).sin()); in getVelocityVector()
220 FixedVector &TankLib::getGunPosition(fixed xy, fixed yz) in getGunPosition()
[all …]
/dports/devel/glade/glade-3.22.1/plugins/gtk+/
H A Dglade-fixed.c275 fixed->pointer_x_origin - fixed->child_x_origin;
277 fixed->pointer_y_origin - fixed->child_y_origin;
331 fixed->child_x_origin - (fixed->child_width_origin +
542 (GLADE_FIXED_GET_CLASS (fixed)->child_event), fixed);
546 (GLADE_FIXED_GET_CLASS (fixed)->child_event), fixed);
550 (GLADE_FIXED_GET_CLASS (fixed)->child_event), fixed);
736 &fixed->mouse_x, &fixed->mouse_y);
815 (fixed, fixed->configuring, event_widget, event);
858 &fixed->mouse_x, &fixed->mouse_y);
963 window, device, &fixed->mouse_x, &fixed->mouse_y);
[all …]
/dports/www/beehive/beehive-0.4.0/vendor/github.com/golang/freetype/raster/
H A Dgeom.go16 func maxAbs(a, b fixed.Int26_6) fixed.Int26_6 {
30 func pNeg(p fixed.Point26_6) fixed.Point26_6 {
35 func pDot(p fixed.Point26_6, q fixed.Point26_6) fixed.Int52_12 {
42 func pLen(p fixed.Point26_6) fixed.Int26_6 {
51 func pNorm(p fixed.Point26_6, length fixed.Int26_6) fixed.Point26_6 {
59 return fixed.Point26_6{fixed.Int26_6(x), fixed.Int26_6(y)}
65 func pRot45CW(p fixed.Point26_6) fixed.Point26_6 {
70 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
88 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
99 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
[all …]
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/golang/freetype/raster/
H A Dgeom.go16 func maxAbs(a, b fixed.Int26_6) fixed.Int26_6 {
30 func pNeg(p fixed.Point26_6) fixed.Point26_6 {
35 func pDot(p fixed.Point26_6, q fixed.Point26_6) fixed.Int52_12 {
42 func pLen(p fixed.Point26_6) fixed.Int26_6 {
51 func pNorm(p fixed.Point26_6, length fixed.Int26_6) fixed.Point26_6 {
59 return fixed.Point26_6{fixed.Int26_6(x), fixed.Int26_6(y)}
65 func pRot45CW(p fixed.Point26_6) fixed.Point26_6 {
70 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
88 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
99 return fixed.Point26_6{fixed.Int26_6(qx), fixed.Int26_6(qy)}
[all …]

12345678910>>...560