Searched refs:cbrt (Results 1 - 25 of 37) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dbuiltins-8.c14 extern double cbrt(double);
31 if (pow(x,1.0/3.0) != cbrt(x))
H A Dbuiltins-11.c15 extern double cbrt(double);
44 if (x/cbrt(y/z) != x*cbrt(z/y))
H A Dc99-tgmath-1.c83 #ifndef cbrt
84 #error cbrt undefined
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/torture/
H A Dbuiltin-power-1.c28 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 Dbuiltin-math-1.c13 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 Dbuiltin-math-3.c237 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 Dbuiltin-symmetric-1.c81 TESTIT_ODD(cbrt);
H A Dbuiltin-explog-1.c34 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 Dbuiltin-convert-1.c94 OUTER_CAST1 (cbrt, /*C99=*/ 1);
H A Dbuiltin-nonneg-1.c140 ARG1TEST1 (cbrt);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/torture/
H A Dbuiltin-power-1.c28 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 Dbuiltin-math-1.c13 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 Dbuiltin-explog-1.c34 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 Dbuiltin-convert-1.c99 OUTER_CAST1 (cbrt, /*C99=*/ 1);
H A Dbuiltin-nonneg-1.c140 ARG1TEST1 (cbrt);
/netbsd-6-1-5-RELEASE/tests/lib/libm/
H A Dt_cbrt.c39 * 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 Dn_cbrt.c32 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 Ds_cbrt.c21 /* 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 Doverloads.cc64 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 Dn_cbrt.S30 * @(#)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 Dtgmath.h125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
/netbsd-6-1-5-RELEASE/include/
H A Dtgmath.h148 #define cbrt(a) __TG_FN1(cbrt, (a)) macro
H A Dmath.h242 double cbrt(double);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dmath.h43 using std::tr1::cbrt;
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/lib/libmpfr/
H A DMakefile39 cbrt.c \
363 cbrt.c \

Completed in 429 milliseconds

12