/haiku/src/system/libroot/posix/musl/math/ |
H A D | copysign.c | 4 union {double f; uint64_t i;} ux={x}, uy={y}; local 6 ux.i |= uy.i & 1ULL<<63;
|
H A D | fmod.c | 6 union {double f; uint64_t i;} ux = {x}, uy = {y}; local 8 int ey = uy.i>>52 & 0x7ff; 16 if (uy.i<<1 == 0 || isnan(y) || ex == 0x7ff) 18 if (uxi<<1 <= uy.i<<1) { 19 if (uxi<<1 == uy.i<<1) 33 for (i = uy.i<<12; i>>63 == 0; ey--, i <<= 1); 34 uy.i <<= -ey + 1; 36 uy.i &= -1ULL >> 12; 37 uy.i |= 1ULL << 52; 42 i = uxi - uy [all...] |
H A D | fmodf.c | 6 union {float f; uint32_t i;} ux = {x}, uy = {y}; local 8 int ey = uy.i>>23 & 0xff; 13 if (uy.i<<1 == 0 || isnan(y) || ex == 0xff) 15 if (uxi<<1 <= uy.i<<1) { 16 if (uxi<<1 == uy.i<<1) 30 for (i = uy.i<<9; i>>31 == 0; ey--, i <<= 1); 31 uy.i <<= -ey + 1; 33 uy.i &= -1U >> 9; 34 uy.i |= 1U << 23; 39 i = uxi - uy [all...] |
H A D | hypotf.c | 6 union {float f; uint32_t i;} ux = {x}, uy = {y}, ut; local 10 uy.i &= -1U>>1; 11 if (ux.i < uy.i) { 13 ux = uy; 14 uy = ut; 18 y = uy.f; 19 if (uy.i == 0xff<<23) 21 if (ux.i >= 0xff<<23 || uy.i == 0 || ux.i - uy.i >= 25<<23) 29 } else if (uy [all...] |
H A D | copysignf.c | 6 union {float f; uint32_t i;} ux={x}, uy={y}; local 8 ux.i |= uy.i & 0x80000000;
|
H A D | nextafter.c | 5 union {double f; uint64_t i;} ux={x}, uy={y}; local 11 if (ux.i == uy.i) 14 ay = uy.i & -1ULL/2; 18 ux.i = (uy.i & 1ULL<<63) | 1; 19 } else if (ax > ay || ((ux.i ^ uy.i) & 1ULL<<63))
|
H A D | nextafterf.c | 5 union {float f; uint32_t i;} ux={x}, uy={y}; local 10 if (ux.i == uy.i) 13 ay = uy.i & 0x7fffffff; 17 ux.i = (uy.i & 0x80000000) | 1; 18 } else if (ax > ay || ((ux.i ^ uy.i) & 0x80000000))
|
H A D | remquo.c | 6 union {double f; uint64_t i;} ux = {x}, uy = {y}; local 8 int ey = uy.i>>52 & 0x7ff; 10 int sy = uy.i>>63; 16 if (uy.i<<1 == 0 || isnan(y) || ex == 0x7ff) 30 for (i = uy.i<<12; i>>63 == 0; ey--, i <<= 1); 31 uy.i <<= -ey + 1; 33 uy.i &= -1ULL >> 12; 34 uy.i |= 1ULL << 52; 46 i = uxi - uy.i; 54 i = uxi - uy [all...] |
H A D | remquof.c | 6 union {float f; uint32_t i;} ux = {x}, uy = {y}; local 8 int ey = uy.i>>23 & 0xff; 10 int sy = uy.i>>31; 16 if (uy.i<<1 == 0 || isnan(y) || ex == 0xff) 30 for (i = uy.i<<9; i>>31 == 0; ey--, i <<= 1); 31 uy.i <<= -ey + 1; 33 uy.i &= -1U >> 9; 34 uy.i |= 1U << 23; 46 i = uxi - uy.i; 54 i = uxi - uy [all...] |
H A D | copysignl.c | 11 union ldshape ux = {x}, uy = {y}; local 13 ux.i.se |= uy.i.se & 0x8000;
|
H A D | hypot.c | 24 union {double f; uint64_t i;} ux = {x}, uy = {y}, ut; local 30 uy.i &= -1ULL>>1; 31 if (ux.i < uy.i) { 33 ux = uy; 34 uy = ut; 39 ey = uy.i>>52; 41 y = uy.f; 45 if (ex == 0x7ff || uy.i == 0)
|
H A D | hypotl.c | 27 union ldshape ux = {x}, uy = {y}; local 32 uy.i.se &= 0x7fff; 33 if (ux.i.se < uy.i.se) { 34 ex = uy.i.se; 36 x = uy.f; 40 ey = uy.i.se; 42 y = uy.f;
|
H A D | atan2l.c | 30 union ldshape ux, uy; local 39 uy.f = y; 41 ey = uy.i.se & 0x7fff; 42 m = 2*(ux.i.se>>15) | uy.i.se>>15;
|
H A D | fmodl.c | 11 union ldshape ux = {x}, uy = {y}; local 13 int ey = uy.i.se & 0x7fff; 19 uy.i.se = ey; 20 if (ux.f <= uy.f) { 21 if (ux.f == uy.f) 32 uy.f *= 0x1p120f; 33 ey = uy.i.se - 120; 40 my = uy.i.m; 64 yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48; 66 ylo = uy [all...] |
H A D | nextafterl.c | 11 union ldshape ux, uy; local 19 uy.f = y; 21 ux.i.se = uy.i.se & 0x8000; 47 union ldshape ux, uy; local 55 uy.f = y; 57 ux.i.se = uy.i.se & 0x8000;
|
H A D | remquol.c | 11 union ldshape ux = {x}, uy = {y}; local 13 int ey = uy.i.se & 0x7fff; 15 int sy = uy.i.se >> 15; 31 uy.i.se = ey; 32 uy.f *= 0x1p120f; 33 ey = uy.i.se - 120; 42 my = uy.i.m; 71 yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48;
|
/haiku/src/libs/agg/src/ |
H A D | agg_bezier_arc.cpp | 201 double uy = (y1 - cy1) / ry; local 208 n = sqrt(ux*ux + uy*uy); 209 p = ux; // (1 * ux) + (0 * uy) 210 sign = (uy < 0) ? -1.0 : 1.0; 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 489 2.0 * ux * uy, 490 2.0 * ux * uy, 491 2.0 * uy * uy - 1.0,
|
/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 2138 uy = (y1p - cyp) / ry; 2141 a1 = nsvg__vecang(1.0f,0.0f, ux,uy); // Initial angle 2142 da = nsvg__vecang(ux,uy, v [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);
|