/third_party/musl/src/math/ |
D | remquol.c | 69 uint64_t hi, lo, xhi, xlo, yhi, ylo; in remquol() 70 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in remquol() 75 hi = xhi - yhi; in remquol() 80 xhi = 2*hi + (lo>>63); in remquol() 84 xhi = 2*xhi + (xlo>>63); in remquol() 89 hi = xhi - yhi; in remquol() 94 xhi = hi; in remquol() 98 if ((xhi|xlo) == 0) in remquol() 101 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in remquol() 102 ux.i2.hi = xhi; in remquol()
|
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 63 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in fmodl() 68 hi = xhi - yhi; in fmodl() 75 xhi = 2*hi + (lo>>63); in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 82 hi = xhi - yhi; in fmodl() 89 xhi = hi; in fmodl() 92 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in fmodl() 93 ux.i2.hi = xhi; in fmodl()
|
D | fma.c | 32 uint64_t xlo = (uint32_t)x, xhi = x>>32; in mul() local 36 t2 = xlo*yhi + xhi*ylo; in mul() 37 t3 = xhi*yhi; in mul()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | remquol.c | 69 uint64_t hi, lo, xhi, xlo, yhi, ylo; in remquol() 70 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in remquol() 75 hi = xhi - yhi; in remquol() 80 xhi = 2*hi + (lo>>63); in remquol() 84 xhi = 2*xhi + (xlo>>63); in remquol() 89 hi = xhi - yhi; in remquol() 94 xhi = hi; in remquol() 98 if ((xhi|xlo) == 0) in remquol() 101 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in remquol() 102 ux.i2.hi = xhi; in remquol()
|
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 63 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in fmodl() 68 hi = xhi - yhi; in fmodl() 75 xhi = 2*hi + (lo>>63); in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 82 hi = xhi - yhi; in fmodl() 89 xhi = hi; in fmodl() 92 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in fmodl() 93 ux.i2.hi = xhi; in fmodl()
|
D | fma.c | 32 uint64_t xlo = (uint32_t)x, xhi = x>>32; in mul() local 36 t2 = xlo*yhi + xhi*ylo; in mul() 37 t3 = xhi*yhi; in mul()
|
/third_party/musl/porting/uniproton/kernel/src/math/ |
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 63 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in fmodl() 68 hi = xhi - yhi; in fmodl() 75 xhi = 2*hi + (lo>>63); in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 82 hi = xhi - yhi; in fmodl() 89 xhi = hi; in fmodl() 92 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in fmodl() 93 ux.i2.hi = xhi; in fmodl()
|
/third_party/musl/porting/liteos_m/kernel/src/math/ |
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 63 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48; in fmodl() 68 hi = xhi - yhi; in fmodl() 75 xhi = 2*hi + (lo>>63); in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 82 hi = xhi - yhi; in fmodl() 89 xhi = hi; in fmodl() 92 for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--); in fmodl() 93 ux.i2.hi = xhi; in fmodl()
|
/third_party/boost/libs/math/test/ |
D | daubechies_wavelet_test.cpp | 81 Real xhi = b; in test_quadratures() local 85 CHECK_ULP_CLOSE(Real(0), psi(xhi), 0); in test_quadratures() 89 CHECK_ULP_CLOSE(Real(0), psi.prime(xhi), 0); in test_quadratures() 92 CHECK_ULP_CLOSE(Real(0), psi.double_prime(xhi), 0); in test_quadratures() 96 xhi = std::nextafter(xhi, std::numeric_limits<Real>::max()); in test_quadratures() 100 xhi = b; in test_quadratures() 104 assert(abs(psi(xhi)) <= 5); in test_quadratures() 108 assert(abs(psi.prime(xhi)) <= 5); in test_quadratures() 112 assert(abs(psi.double_prime(xhi)) <= 5); in test_quadratures() 116 xhi = std::nextafter(xhi, std::numeric_limits<Real>::lowest()); in test_quadratures()
|
D | daubechies_scaling_test.cpp | 355 Real xhi = b; in test_quadratures() local 359 CHECK_ULP_CLOSE(Real(0), phi(xhi), 0); in test_quadratures() 361 xhi = std::nextafter(xhi, std::numeric_limits<Real>::max()); in test_quadratures() 365 xhi = b; in test_quadratures() 368 assert(abs(phi(xhi)) <= 5); in test_quadratures() 370 xhi = std::nextafter(xhi, std::numeric_limits<Real>::lowest()); in test_quadratures() 427 Real xhi = b; in test_quadratures() local 431 CHECK_ULP_CLOSE(Real(0), phi(xhi), 0); in test_quadratures() 434 assert(abs(phi.prime(xhi)) <= 5); in test_quadratures() 437 assert(abs(phi.double_prime(xhi)) <= 5); in test_quadratures() [all …]
|