/haiku/src/system/libroot/posix/musl/math/ |
H A D | copysign.c | 4 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 D | nextafterl.c | 11 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 D | nextafter.c | 5 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 D | nextafterf.c | 5 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 D | nexttoward.c | 11 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 D | nexttowardf.c | 5 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 D | copysignf.c | 6 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 D | copysignl.c | 11 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 D | hypotf.c | 6 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 D | fmodl.c | 11 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 D | remquol.c | 11 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 D | fmod.c | 6 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 D | fmodf.c | 6 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 D | hypot.c | 24 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 D | hypotl.c | 27 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 D | remquo.c | 6 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 D | remquof.c | 6 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 D | atan2l.c | 30 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 D | agg_bezier_arc.cpp | 200 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 D | agg_trans_affine.h | 482 // 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 D | softfloat.c | 148 _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 D | nanosvg.h | 2054 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 D | SVGViewView.cpp | 445 double CalcVectorAngle(double ux, double uy, double vx, double vy) { argument 446 double ta = atan2(uy, ux);
|