/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 65 xlo = ux.i2.lo; in fmodl() 69 lo = xlo - ylo; in fmodl() 70 if (xlo < ylo) in fmodl() 76 xlo = 2*lo; in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 79 xlo = 2*xlo; in fmodl() 83 lo = xlo - ylo; in fmodl() 84 if (xlo < ylo) in fmodl() 90 xlo = lo; in fmodl() [all …]
|
D | remquol.c | 69 uint64_t hi, lo, xhi, xlo, yhi, ylo; in remquol() 72 xlo = ux.i2.lo; in remquol() 76 lo = xlo - ylo; in remquol() 77 if (xlo < ylo) in remquol() 81 xlo = 2*lo; in remquol() 84 xhi = 2*xhi + (xlo>>63); in remquol() 85 xlo = 2*xlo; in remquol() 90 lo = xlo - ylo; in remquol() 91 if (xlo < ylo) in remquol() 95 xlo = lo; in remquol() [all …]
|
D | fma.c | 32 uint64_t xlo = (uint32_t)x, xhi = x>>32; in mul() local 35 t1 = xlo*ylo; in mul() 36 t2 = xlo*yhi + xhi*ylo; in mul()
|
/third_party/musl/src/math/ |
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 65 xlo = ux.i2.lo; in fmodl() 69 lo = xlo - ylo; in fmodl() 70 if (xlo < ylo) in fmodl() 76 xlo = 2*lo; in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 79 xlo = 2*xlo; in fmodl() 83 lo = xlo - ylo; in fmodl() 84 if (xlo < ylo) in fmodl() 90 xlo = lo; in fmodl() [all …]
|
D | remquol.c | 69 uint64_t hi, lo, xhi, xlo, yhi, ylo; in remquol() 72 xlo = ux.i2.lo; in remquol() 76 lo = xlo - ylo; in remquol() 77 if (xlo < ylo) in remquol() 81 xlo = 2*lo; in remquol() 84 xhi = 2*xhi + (xlo>>63); in remquol() 85 xlo = 2*xlo; in remquol() 90 lo = xlo - ylo; in remquol() 91 if (xlo < ylo) in remquol() 95 xlo = lo; in remquol() [all …]
|
D | fma.c | 32 uint64_t xlo = (uint32_t)x, xhi = x>>32; in mul() local 35 t1 = xlo*ylo; in mul() 36 t2 = xlo*yhi + xhi*ylo; 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 65 xlo = ux.i2.lo; in fmodl() 69 lo = xlo - ylo; in fmodl() 70 if (xlo < ylo) in fmodl() 76 xlo = 2*lo; in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 79 xlo = 2*xlo; in fmodl() 83 lo = xlo - ylo; in fmodl() 84 if (xlo < ylo) in fmodl() 90 xlo = lo; in fmodl() [all …]
|
/third_party/musl/porting/liteos_m/kernel/src/math/ |
D | fmodl.c | 62 uint64_t hi, lo, xhi, xlo, yhi, ylo; in fmodl() local 65 xlo = ux.i2.lo; in fmodl() 69 lo = xlo - ylo; in fmodl() 70 if (xlo < ylo) in fmodl() 76 xlo = 2*lo; in fmodl() 78 xhi = 2*xhi + (xlo>>63); in fmodl() 79 xlo = 2*xlo; in fmodl() 83 lo = xlo - ylo; in fmodl() 84 if (xlo < ylo) in fmodl() 90 xlo = lo; in fmodl() [all …]
|
/third_party/boost/libs/math/test/ |
D | daubechies_wavelet_test.cpp | 80 Real xlo = a; in test_quadratures() local 84 CHECK_ULP_CLOSE(Real(0), psi(xlo), 0); in test_quadratures() 88 CHECK_ULP_CLOSE(Real(0), psi.prime(xlo), 0); in test_quadratures() 91 CHECK_ULP_CLOSE(Real(0), psi.double_prime(xlo), 0); in test_quadratures() 95 xlo = std::nextafter(xlo, std::numeric_limits<Real>::lowest()); in test_quadratures() 99 xlo = a; in test_quadratures() 103 assert(abs(psi(xlo)) <= 5); in test_quadratures() 107 assert(abs(psi.prime(xlo)) <= 5); in test_quadratures() 111 assert(abs(psi.double_prime(xlo)) <= 5); in test_quadratures() 115 xlo = std::nextafter(xlo, std::numeric_limits<Real>::max()); in test_quadratures()
|
D | daubechies_scaling_test.cpp | 354 Real xlo = a; in test_quadratures() local 358 CHECK_ULP_CLOSE(Real(0), phi(xlo), 0); in test_quadratures() 360 xlo = std::nextafter(xlo, std::numeric_limits<Real>::lowest()); in test_quadratures() 364 xlo = a; in test_quadratures() 367 assert(abs(phi(xlo)) <= 5); in test_quadratures() 369 xlo = std::nextafter(xlo, std::numeric_limits<Real>::max()); in test_quadratures() 426 Real xlo = a; in test_quadratures() local 430 CHECK_ULP_CLOSE(Real(0), phi(xlo), 0); in test_quadratures() 433 assert(abs(phi.prime(xlo)) <= 5); in test_quadratures() 436 assert(abs(phi.double_prime(xlo)) <= 5); in test_quadratures() [all …]
|