Searched refs:ux (Results 1 - 23 of 23) sorted by relevance

/haiku/src/system/libroot/posix/musl/math/
H A Dcopysign.c4 union {double f; uint64_t i;} ux={x}, uy={y}; local
5 ux.i &= -1ULL/2;
6 ux.i |= uy.i & 1ULL<<63;
7 return ux.f;
H A Dnextafterl.c11 union ldshape ux, uy; local
17 ux.f = x;
20 ux.i.m = 1;
21 ux.i.se = uy.i.se & 0x8000;
22 } else if ((x < y) == !(ux.i.se & 0x8000)) {
23 ux.i.m++;
24 if (ux.i.m << 1 == 0) {
25 ux.i.m = 1ULL << 63;
26 ux.i.se++;
29 if (ux
47 union ldshape ux, uy; local
[all...]
H A Dnextafter.c5 union {double f; uint64_t i;} ux={x}, uy={y}; local
11 if (ux.i == uy.i)
13 ax = ux.i & -1ULL/2;
18 ux.i = (uy.i & 1ULL<<63) | 1;
19 } else if (ax > ay || ((ux.i ^ uy.i) & 1ULL<<63))
20 ux.i--;
22 ux.i++;
23 e = ux.i >> 52 & 0x7ff;
24 /* raise overflow if ux.f is infinite and x is finite */
27 /* raise underflow if ux
[all...]
H A Dnextafterf.c5 union {float f; uint32_t i;} ux={x}, uy={y}; local
10 if (ux.i == uy.i)
12 ax = ux.i & 0x7fffffff;
17 ux.i = (uy.i & 0x80000000) | 1;
18 } else if (ax > ay || ((ux.i ^ uy.i) & 0x80000000))
19 ux.i--;
21 ux.i++;
22 e = ux.i & 0x7f800000;
23 /* raise overflow if ux.f is infinite and x is finite */
26 /* raise underflow if ux
[all...]
H A Dnexttoward.c11 union {double f; uint64_t i;} ux = {x}; local
19 ux.i = 1;
21 ux.i |= 1ULL<<63;
24 ux.i--;
26 ux.i++;
29 ux.i++;
31 ux.i--;
33 e = ux.i>>52 & 0x7ff;
34 /* raise overflow if ux.f is infinite and x is finite */
37 /* raise underflow if ux
[all...]
H A Dnexttowardf.c5 union {float f; uint32_t i;} ux = {x}; local
13 ux.i = 1;
15 ux.i |= 0x80000000;
18 ux.i--;
20 ux.i++;
23 ux.i++;
25 ux.i--;
27 e = ux.i & 0x7f800000;
28 /* raise overflow if ux.f is infinite and x is finite */
31 /* raise underflow if ux
[all...]
H A Dcopysignf.c6 union {float f; uint32_t i;} ux={x}, uy={y}; local
7 ux.i &= 0x7fffffff;
8 ux.i |= uy.i & 0x80000000;
9 return ux.f;
H A Dcopysignl.c11 union ldshape ux = {x}, uy = {y}; local
12 ux.i.se &= 0x7fff;
13 ux.i.se |= uy.i.se & 0x8000;
14 return ux.f;
H A Dhypotf.c6 union {float f; uint32_t i;} ux = {x}, uy = {y}, ut; local
9 ux.i &= -1U>>1;
11 if (ux.i < uy.i) {
12 ut = ux;
13 ux = uy;
17 x = ux.f;
21 if (ux.i >= 0xff<<23 || uy.i == 0 || ux.i - uy.i >= 25<<23)
25 if (ux.i >= (0x7f+60)<<23) {
H A Dfmodl.c11 union ldshape ux = {x}, uy = {y}; local
12 int ex = ux.i.se & 0x7fff;
14 int sx = ux.i.se & 0x8000;
18 ux.i.se = ex;
20 if (ux.f <= uy.f) {
21 if (ux.f == uy.f)
28 ux.f *= 0x1p120f;
29 ex = ux.i.se - 120;
39 mx = ux.i.m;
60 ux
[all...]
H A Dremquol.c11 union ldshape ux = {x}, uy = {y}; local
12 int ex = ux.i.se & 0x7fff;
14 int sx = ux.i.se >> 15;
26 ux.i.se = ex;
27 ux.f *= 0x1p120f;
28 ex = ux.i.se - 120;
41 mx = ux.i.m;
67 ux.i.m = mx;
70 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48;
72 xlo = ux
[all...]
H A Dfmod.c6 union {double f; uint64_t i;} ux = {x}, uy = {y}; local
7 int ex = ux.i>>52 & 0x7ff;
9 int sx = ux.i>>63;
12 /* in the followings uxi should be ux.i, but then gcc wrongly adds */
14 uint64_t uxi = ux.i;
66 ux.i = uxi;
67 return ux.f;
H A Dfmodf.c6 union {float f; uint32_t i;} ux = {x}, uy = {y}; local
7 int ex = ux.i>>23 & 0xff;
9 uint32_t sx = ux.i & 0x80000000;
11 uint32_t uxi = ux.i;
63 ux.i = uxi;
64 return ux.f;
H A Dhypot.c24 union {double f; uint64_t i;} ux = {x}, uy = {y}, ut; local
29 ux.i &= -1ULL>>1;
31 if (ux.i < uy.i) {
32 ut = ux;
33 ux = uy;
38 ex = ux.i>>52;
40 x = ux.f;
H A Dhypotl.c27 union ldshape ux = {x}, uy = {y}; local
31 ux.i.se &= 0x7fff;
33 if (ux.i.se < uy.i.se) {
35 ey = ux.i.se;
37 y = ux.f;
39 ex = ux.i.se;
41 x = ux.f;
H A Dremquo.c6 union {double f; uint64_t i;} ux = {x}, uy = {y}; local
7 int ex = ux.i>>52 & 0x7ff;
9 int sx = ux.i>>63;
13 uint64_t uxi = ux.i;
18 if (ux.i<<1 == 0)
71 ux.i = uxi;
72 x = ux.f;
H A Dremquof.c6 union {float f; uint32_t i;} ux = {x}, uy = {y}; local
7 int ex = ux.i>>23 & 0xff;
9 int sx = ux.i>>31;
13 uint32_t uxi = ux.i;
18 if (ux.i<<1 == 0)
71 ux.i = uxi;
72 x = ux.f;
H A Datan2l.c30 union ldshape ux, uy; local
38 ux.f = x;
40 ex = ux.i.se & 0x7fff;
42 m = 2*(ux.i.se>>15) | uy.i.se>>15;
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp200 double ux = (x1 - cx1) / rx; local
208 n = sqrt(ux*ux + uy*uy);
209 p = ux; // (1 * ux) + (0 * uy)
218 n = sqrt((ux*ux + uy*uy) * (vx*vx + vy*vy));
219 p = ux * vx + uy * vy;
220 sign = (ux * vy - uy * vx < 0) ? -1.0 : 1.0;
/haiku/headers/libs/agg/
H A Dagg_trans_affine.h482 // the origin containing the unit vector (ux, uy).
487 trans_affine_reflection_unit(double ux, double uy) : argument
488 trans_affine(2.0 * ux * ux - 1.0,
489 2.0 * ux * uy,
490 2.0 * ux * uy,
/haiku/src/system/libroot/os/arch/sparc/
H A Dsoftfloat.c148 _QP_TTOQ(ux, x, u_long, -1, u_long, u.a[0])
155 _QP_QTOT(ux, x, u_long, &u.a)
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h2054 static float nsvg__vecrat(float ux, float uy, float vx, float vy) argument
2056 return (ux*vx + uy*vy) / (nsvg__vmag(ux,uy) * nsvg__vmag(vx,vy));
2059 static float nsvg__vecang(float ux, float uy, float vx, float vy) argument
2061 float r = nsvg__vecrat(ux,uy, vx,vy);
2064 return ((ux*vy < uy*vx) ? -1.0f : 1.0f) * acosf(r);
2073 float ux, uy, vx, vy, a1, da; local
2137 ux = (x1p - cxp) / rx;
2141 a1 = nsvg__vecang(1.0f,0.0f, ux,uy); // Initial angle
2142 da = nsvg__vecang(ux,u
[all...]
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp445 double CalcVectorAngle(double ux, double uy, double vx, double vy) { argument
446 double ta = atan2(uy, ux);

Completed in 285 milliseconds