/bionic/libm/x86/ |
s_cbrt.S | 38 // cbrt(2^j * 1. b1 b2 .. b5 1) is approximated as T[j][b1..b5]+D[j][b1..b5] 44 // cbrt(NaN) = quiet NaN, and raise invalid exception 45 // cbrt(INF) = that INF 46 // cbrt(+/-0) = +/-0 66 # -- Begin cbrt 67 ENTRY(cbrt) function 224 END(cbrt) 225 # -- End cbrt 228 ALIAS_SYMBOL(cbrtl, cbrt);
|
/prebuilts/go/darwin-x86/src/math/ |
cbrt.go | 19 // Cbrt returns the cube root of x. 22 // Cbrt(±0) = ±0 23 // Cbrt(±Inf) = ±Inf 24 // Cbrt(NaN) = NaN 25 func Cbrt(x float64) float64 27 func cbrt(x float64) float64 { func 50 // rough cbrt to 5 bits 59 // new cbrt to 23 bits 64 // chop to 22 bits, make larger than cbrt(x)
|
/prebuilts/go/linux-x86/src/math/ |
cbrt.go | 19 // Cbrt returns the cube root of x. 22 // Cbrt(±0) = ±0 23 // Cbrt(±Inf) = ±Inf 24 // Cbrt(NaN) = NaN 25 func Cbrt(x float64) float64 27 func cbrt(x float64) float64 { func 50 // rough cbrt to 5 bits 59 // new cbrt to 23 bits 64 // chop to 22 bits, make larger than cbrt(x)
|
/bionic/libm/x86_64/ |
s_cbrt.S | 38 // cbrt(2^j * 1. b1 b2 .. b5 1) is approximated as T[j][b1..b5]+D[j][b1..b5] 44 // cbrt(NaN) = quiet NaN, and raise invalid exception 45 // cbrt(INF) = that INF 46 // cbrt(+/-0) = +/-0 51 # -- Begin cbrt 52 ENTRY(cbrt) function 201 END(cbrt) 202 # -- End cbrt
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cbrt.c | 21 /* cbrt(x) 28 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */ 37 cbrt(double x) function 51 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */ 54 * Rough cbrt to 5 bits: 55 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3) 70 return(x); /* cbrt(0) is itself */ 79 * New cbrt to 23 bits: 80 * cbrt(x) = t*cbrt(x/t**3) ~= t*P(t**3/x [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidStrictMathTest.java | 96 .cbrt(Double.NaN))); 99 .cbrt(Double.POSITIVE_INFINITY)); 102 .cbrt(Double.NEGATIVE_INFINITY)); 104 .doubleToLongBits(StrictMath.cbrt(0.0))); 106 .doubleToLongBits(StrictMath.cbrt(+0.0))); 108 .doubleToLongBits(StrictMath.cbrt(-0.0))); 110 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0)); 112 StrictMath.cbrt(12345.6)); 114 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE)); 115 assertEquals("Should return 0.01", 0.01, StrictMath.cbrt(0.000001)) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 55 * {@code cbrt}, {@code atan2}, {@code pow}, 274 * positive finite {@code x}, {@code cbrt(-x) == 275 * -cbrt(x)}; that is, the cube root of a negative value is 295 public static native double cbrt(double a); method in class:StrictMath [all...] |
Math.java | 340 * positive finite {@code x}, {@code cbrt(-x) == 341 * -cbrt(x)}; that is, the cube root of a negative value is 365 public static native double cbrt(double a); method in class:Math [all...] |
/libcore/ojluni/src/main/native/ |
jfdlibm.h | 49 #define cbrt jcbrt macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 136 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 136 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
tgmath.h | 337 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | 125 * java.lang.StrictMath#cbrt(double) 131 .cbrt(Double.NaN))); 134 .cbrt(Double.POSITIVE_INFINITY)); 137 .cbrt(Double.NEGATIVE_INFINITY)); 139 .doubleToLongBits(StrictMath.cbrt(0.0))); 141 .doubleToLongBits(StrictMath.cbrt(+0.0))); 143 .doubleToLongBits(StrictMath.cbrt(-0.0))); 145 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0)); 147 StrictMath.cbrt(12345.6)); 149 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE)) [all...] |
/external/clang/lib/Headers/ |
tgmath.h | 576 // cbrt 584 __tg_cbrt(double __x) {return cbrt(__x);} 590 #undef cbrt macro 591 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/external/libcxx/test/std/depr/depr.c.headers/ |
math_h.pass.cpp | 68 Ambiguous cbrt(Ambiguous){ return Ambiguous(); } function [all...] |
/external/libcxx/test/std/numerics/c.math/ |
cmath.pass.cpp | 70 Ambiguous cbrt(Ambiguous){ return Ambiguous(); } function [all...] |
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/ |
tgmath.h | 576 // cbrt 584 __tg_cbrt(double __x) {return cbrt(__x);} 590 #undef cbrt macro 591 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/ |
tgmath.h | 576 // cbrt 584 __tg_cbrt(double __x) {return cbrt(__x);} 590 #undef cbrt macro 591 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4053586/lib64/clang/5.0/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4393122/lib64/clang/5.0.1/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4479392/lib64/clang/5.0.2/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4579689/lib64/clang/6.0.1/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4630689/lib64/clang/6.0.1/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-4639204/lib64/clang/6.0.1/include/ |
tgmath.h | 585 // cbrt 593 __tg_cbrt(double __x) {return cbrt(__x);} 599 #undef cbrt macro 600 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
|