/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | builtins-8.c | 14 extern double cbrt(double); 31 if (pow(x,1.0/3.0) != cbrt(x))
|
H A D | builtins-11.c | 15 extern double cbrt(double); 44 if (x/cbrt(y/z) != x*cbrt(z/y))
|
H A D | c99-tgmath-1.c | 83 #ifndef cbrt 84 #error cbrt undefined
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/torture/ |
H A D | builtin-power-1.c | 28 PROTOTYPE(cbrt) 36 /* E.g. sqrt(cbrt(x)) -> pow(x,1/6). */ 47 ROOT_ROOT(sqrt,2,cbrt,3,); 48 ROOT_ROOT(cbrt,3,sqrt,2,); 49 ROOT_ROOT(cbrt,3,cbrt,3,fabs); 62 POW_ROOT(cbrt,3,fabs); 75 ROOT_POW(cbrt,3,fabs); 96 ROOT_X_ROOT(cbrt);
|
H A D | builtin-math-1.c | 13 extern double cbrt (double); 49 if (cbrt (0.0) != 0.0) 52 if (cbrt (1.0) != 1.0) 55 if (cbrt (-1.0) != -1.0)
|
H A D | builtin-math-3.c | 237 TESTIT (cbrt, -0.0, -0.0); /* cbrt(-0) == -0 */ 238 TESTIT (cbrt, 0.0, 0.0); /* cbrt(0) == 0 */ 239 TESTIT (cbrt, 1.0, 1.0); /* cbrt(1) == 1 */ 240 TESTIT (cbrt, -1.0, -1.0); /* cbrt(-1) == -1 */ 241 TESTIT (cbrt, 8.0, 2.0); /* cbrt( [all...] |
H A D | builtin-symmetric-1.c | 81 TESTIT_ODD(cbrt);
|
H A D | builtin-explog-1.c | 34 PROTOTYPE(cbrt) 109 /* Test logN(cbrt(x)) -> (1/3)*logN(x). */ 112 if (LOG(cbrt(d1)) != (1.0/3)*LOG(d1) \ 120 /* Test cbrt(expN(x)) -> expN(x/3). */ 123 if (cbrt(EXP(d1)) != EXP(d1/3.0) || cbrtf(EXP##f(f1)) != EXP##f(f1/3.0F) \
|
H A D | builtin-convert-1.c | 94 OUTER_CAST1 (cbrt, /*C99=*/ 1);
|
H A D | builtin-nonneg-1.c | 140 ARG1TEST1 (cbrt);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/torture/ |
H A D | builtin-power-1.c | 28 PROTOTYPE(cbrt) 36 /* E.g. sqrt(cbrt(x)) -> pow(x,1/6). */ 47 ROOT_ROOT(sqrt,2,cbrt,3,); 48 ROOT_ROOT(cbrt,3,sqrt,2,); 49 ROOT_ROOT(cbrt,3,cbrt,3,fabs); 62 POW_ROOT(cbrt,3,fabs); 75 ROOT_POW(cbrt,3,fabs); 96 ROOT_X_ROOT(cbrt);
|
H A D | builtin-math-1.c | 13 extern double cbrt (double); 49 if (cbrt (0.0) != 0.0) 52 if (cbrt (1.0) != 1.0) 55 if (cbrt (-1.0) != -1.0)
|
H A D | builtin-explog-1.c | 34 PROTOTYPE(cbrt) 111 /* Test logN(cbrt(x)) -> (1/3)*logN(x). */ 114 if (LOG(cbrt(d1)) != (1.0/3)*LOG(d1) \ 122 /* Test cbrt(expN(x)) -> expN(x/3). */ 125 if (cbrt(EXP(d1)) != EXP(d1/3.0) || cbrtf(EXP##f(f1)) != EXP##f(f1/3.0F) \
|
H A D | builtin-convert-1.c | 99 OUTER_CAST1 (cbrt, /*C99=*/ 1);
|
H A D | builtin-nonneg-1.c | 140 ARG1TEST1 (cbrt);
|
/netbsd-6-1-5-RELEASE/tests/lib/libm/ |
H A D | t_cbrt.c | 39 * cbrt(3) 44 atf_tc_set_md_var(tc, "descr", "Test cbrt(NaN) == NaN"); 53 ATF_CHECK(isnan(cbrt(x)) != 0); 60 atf_tc_set_md_var(tc, "descr", "Test cbrt(3) vs. pow(3)"); 73 y = cbrt(x[i]); 77 atf_tc_fail_nonfatal("cbrt(%0.03f) != " 86 atf_tc_set_md_var(tc, "descr", "Test cbrt(-Inf) == -Inf"); 93 double y = cbrt(x); 103 atf_tc_set_md_var(tc, "descr", "Test cbrt(+Inf) == +Inf"); 110 double y = cbrt( [all...] |
/netbsd-6-1-5-RELEASE/lib/libm/noieee_src/ |
H A D | n_cbrt.c | 32 static char sccsid[] = "@(#)cbrt.c 8.1 (Berkeley) 6/4/93"; 66 cbrt(double x) function 80 if(mexp==0x7ff00000) return(x); /* cbrt(NaN,INF) is itself */ 81 if(x==0.0) return(x); /* cbrt(0) is itself */ 87 /* rough cbrt to 5 bits */ 96 /* new cbrt to 23 bits, may be implemented in single precision */ 101 /* chopped to 20 bits and make it larger than cbrt(x) */
|
/netbsd-6-1-5-RELEASE/lib/libm/src/ |
H A D | s_cbrt.c | 21 /* cbrt(x) 36 cbrt(double x) function 46 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */ 49 return(x); /* cbrt(0) is itself */ 52 /* rough cbrt to 5 bits */ 61 /* new cbrt to 23 bits, may be implemented in single precision */ 66 /* chopped to 20 bits and make it larger than cbrt(x) */
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/ |
H A D | overloads.cc | 64 check_ret_type<double>(std::tr1::cbrt(d0)); 65 check_ret_type<float>(std::tr1::cbrt(f0)); 66 check_ret_type<long double>(std::tr1::cbrt(ld0)); 67 check_ret_type<double>(std::tr1::cbrt(i0));
|
/netbsd-6-1-5-RELEASE/lib/libm/arch/vax/ |
H A D | n_cbrt.S | 30 * @(#)cbrt.s 8.1 (Berkeley) 6/4/93 36 * double cbrt(double arg) 43 ALTENTRY(cbrt)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ginclude/ |
H A D | tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/netbsd-6-1-5-RELEASE/include/ |
H A D | tgmath.h | 148 #define cbrt(a) __TG_FN1(cbrt, (a)) macro
|
H A D | math.h | 242 double cbrt(double);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
H A D | math.h | 43 using std::tr1::cbrt;
|
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/lib/libmpfr/ |
H A D | Makefile | 39 cbrt.c \ 363 cbrt.c \
|