/third_party/jerryscript/tests/jerry/es2015/ |
H A D | math-cbrt.js | 23 assert(isNaN(Math.cbrt(NaN))); 24 assert(isSameZero(Math.cbrt(p_zero), p_zero)); 25 assert(isSameZero(Math.cbrt(n_zero), n_zero)); 26 assert(Math.cbrt(Number.POSITIVE_INFINITY) === Number.POSITIVE_INFINITY); 27 assert(Math.cbrt(Number.NEGATIVE_INFINITY) === Number.NEGATIVE_INFINITY); 29 assert(Math.cbrt(1.0) === 1.0); 30 assert(Math.cbrt(-1.0) === -1.0); 32 assert(Math.cbrt(27.0) === 3.0); 33 assert(Math.cbrt(0.001) === 0.1);
|
/third_party/jerryscript/tools/unit-tests/ |
H A D | gen-test-libm.c | 807 /* cbrt tests */ in main() 808 GEN_DBL_TEST (cbrt (0.0)); in main() 809 GEN_DBL_TEST (cbrt (-0.0)); in main() 810 GEN_DBL_TEST (cbrt (1.0)); in main() 811 GEN_DBL_TEST (cbrt (-1.0)); in main() 812 GEN_DBL_TEST (cbrt (INFINITY)); in main() 813 GEN_DBL_TEST (cbrt (-INFINITY)); in main() 814 GEN_DBL_TEST (cbrt (NAN)); in main() 815 GEN_DBL_TEST (cbrt (0.7)); in main() 816 GEN_DBL_TEST (cbrt ( in main() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cbrt_tablegen.h | 53 cbrt_val = i * cbrt(i); in ff_cbrt_tableinit() 62 cbrt_val = i * cbrt(i); in ff_cbrt_tableinit()
|
H A D | mpegaudiodec_common_tablegen.h | 59 pow43_val = value / IMDCT_SCALAR * cbrt(value); in mpegaudiodec_common_tableinit()
|
H A D | mpegaudio_tablegen.h | 62 pow43_lut[i] = i * cbrt(i); in mpegaudio_tableinit()
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_cbrt_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the cbrt interface. 24 bool testResult = DoubleUlpCmp(g_cbrtData[i].expected, cbrt(g_cbrtData[i].input), 1); in HWTEST_F() 31 * @tc.desc: When the parameter of cbrt is valid, test the return value of the function. 36 EXPECT_DOUBLE_EQ(2.0, cbrt(8.0)); in HWTEST_F()
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 46 #ifdef cbrt in f() 47 {double r = cbrt(x);} in f() 49 #error no cbrt(x) in f()
|
/third_party/ffmpeg/libavutil/ |
H A D | tablegen.h | 35 #define cbrt ff_cbrt macro
|
/third_party/typescript/tests/baselines/reference/ |
H A D | doYouNeedToChangeYourTargetLibraryES2015.js | 56 const testMathCbrt = Math.cbrt(0); 154 var testMathCbrt = Math.cbrt(0);
|
/third_party/jerryscript/jerry-libm/include/ |
H A D | math.h | 80 double cbrt (double);
|
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.h | 58 V8_BASE_EXPORT double cbrt(double x);
|
/third_party/musl/src/math/ |
H A D | cbrt.c | 14 /* cbrt(x) 25 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */ 33 double cbrt(double x) in cbrt() function 39 if (hx >= 0x7ff00000) /* cbrt(NaN,INF) is itself */ in cbrt() 43 * Rough cbrt to 5 bits: in cbrt() 44 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3) in cbrt() 61 return x; /* cbrt(0) is itself */ in cbrt() 70 * New cbrt to 23 bits: in cbrt() 71 * cbrt(x) = t*cbrt( in cbrt() [all...] |
H A D | cbrtl.c | 23 return cbrt(x); in cbrtl() 39 * If x = +-Inf, then cbrt(x) = +-Inf. in cbrtl() 40 * If x = NaN, then cbrt(x) = NaN. in cbrtl() 48 /* If x = +-0, then cbrt(x) = +-0. */ in cbrtl()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | cbrt.c | 14 /* cbrt(x) 25 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */ 33 double cbrt(double x) in cbrt() function 39 if (hx >= 0x7ff00000) /* cbrt(NaN,INF) is itself */ in cbrt() 43 * Rough cbrt to 5 bits: in cbrt() 44 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3) in cbrt() 61 return x; /* cbrt(0) is itself */ in cbrt() 70 * New cbrt to 23 bits: in cbrt() 71 * cbrt(x) = t*cbrt( in cbrt() [all...] |
H A D | cbrtl.c | 23 return cbrt(x); in cbrtl() 39 * If x = +-Inf, then cbrt(x) = +-Inf. in cbrtl() 40 * If x = NaN, then cbrt(x) = NaN. in cbrtl() 48 /* If x = +-0, then cbrt(x) = +-0. */ in cbrtl()
|
/third_party/musl/libc-test/src/math/ |
H A D | cbrt.c | 6 #include "sanity/cbrt.h" 7 #include "special/cbrt.h" 26 y = cbrt(p->x); in main() 30 printf("%s:%d: bad fp exception: %s cbrt(%a)=%a, want %s", in main() 37 printf("%s:%d: %s cbrt(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | tgmath.h | 154 #undef cbrt macro 217 #define cbrt(x) __tg_real(cbrt, (x)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | tgmath.h | 154 #undef cbrt macro 217 #define cbrt(x) __tg_real(cbrt, (x)) macro
|
/third_party/musl/include/ |
H A D | tgmath.h | 154 #undef cbrt macro 217 #define cbrt(x) __tg_real(cbrt, (x)) macro
|
/third_party/jerryscript/jerry-libm/ |
H A D | cbrt.c | 30 /* cbrt(x) 43 cbrt (double x) in cbrt() function 56 /* cbrt(NaN, INF) is itself */ in cbrt() 61 /* cbrt(0) is itself */ in cbrt() 64 /* rough cbrt to 5 bits */ in cbrt() 76 /* new cbrt to 23 bits, may be implemented in single precision */ in cbrt() 81 /* chopped to 20 bits and make it larger than cbrt(x) */ in cbrt() 95 } /* cbrt */ in cbrt()
|
H A D | jerry-libm-internal.h | 108 double cbrt (double);
|
/third_party/python/Lib/test/ |
H A D | test_math.py | 381 self.assertRaises(TypeError, math.cbrt) 382 self.ftest('cbrt(0)', math.cbrt(0), 0) 383 self.ftest('cbrt(1)', math.cbrt(1), 1) 384 self.ftest('cbrt(8)', math.cbrt(8), 2) 385 self.ftest('cbrt(0.0)', math.cbrt(0.0), 0.0) 386 self.ftest('cbrt( [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_afade.c | 118 gain = cbrt(gain); in fade_gain() 121 gain = gain <= 0.5 ? cbrt(2 * gain) / 2: 1 - cbrt(2 * (1 - gain)) / 2; in fade_gain()
|
H A D | avf_showwaves.c | 123 { "cbrt", "cubic root", 0, AV_OPT_TYPE_CONST, {.i64=SCALE_CBRT}, .flags=FLAGS, .unit="scale"}, 217 return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX)); in get_cbrt_h() 222 return cbrt(FFABS(sample)) * height / cbrt(INT16_MAX); in get_cbrt_h2() 810 { "cbrt", "cubic root", 0, AV_OPT_TYPE_CONST, {.i64=SCALE_CBRT}, .flags=FLAGS, .unit="scale"},
|
H A D | avf_ahistogram.c | 78 { "cbrt", "cubic root", 0, AV_OPT_TYPE_CONST, {.i64=CBRT}, 0, 0, FLAGS, "scale" }, 337 aa = cbrt(a) / cbrt(acmax); in filter_frame()
|