HomeSort by: relevance | last modified time | path
    Searched refs:cbrt (Results 1 - 10 of 10) sorted by relevancy

  /src/lib/libm/noieee_src/
n_cbrt.c 32 static char sccsid[] = "@(#)cbrt.c 8.1 (Berkeley) 6/4/93";
68 return (float)cbrt(x);
74 return cbrt((double)x);
78 cbrt(double x) function in typeref:typename:double
92 if(mexp==0x7ff00000) return(x); /* cbrt(NaN,INF) is itself */
93 if(x==0.0) return(x); /* cbrt(0) is itself */
99 /* rough cbrt to 5 bits */
108 /* new cbrt to 23 bits, may be implemented in single precision */
113 /* chopped to 20 bits and make it larger than cbrt(x) */
  /src/lib/libm/src/
s_cbrt.c 23 __strong_alias(_cbrtl, cbrt)
27 /* cbrt(x)
42 cbrt(double x) function in typeref:typename:double
52 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
55 return(x); /* cbrt(0) is itself */
58 /* rough cbrt to 5 bits */
67 /* new cbrt to 23 bits, may be implemented in single precision */
72 /* chopped to 20 bits and make it larger than cbrt(x) */
  /src/lib/libm/arch/vax/
n_cbrt.S 30 * @(#)cbrt.s 8.1 (Berkeley) 6/4/93
36 * double cbrt(double arg)
45 calls $2,_C_LABEL(cbrt)
51 WEAK_ALIAS(cbrtl, cbrt)
54 STRONG_ALIAS(cbrt, d_cbrt)
  /src/tests/lib/libm/
t_cbrt.c 40 * cbrt(3)
45 atf_tc_set_md_var(tc, "descr", "Test cbrt(NaN) == NaN");
53 ATF_CHECK(isnan(cbrt(x)) != 0);
59 atf_tc_set_md_var(tc, "descr", "Test cbrt(3) vs. pow(3)");
65 /* Neither cbrt nor pow is required to be correctly rounded. */
70 double x_cbrt = cbrt(x[i]);
81 atf_tc_fail_nonfatal("cbrt(%.17g) = %.17g != "
91 atf_tc_set_md_var(tc, "descr", "Test cbrt(-Inf) == -Inf");
97 double y = cbrt(x);
106 atf_tc_set_md_var(tc, "descr", "Test cbrt(+Inf) == +Inf")
    [all...]
  /src/tests/lib/lua/libm/
h_lualibm.c 37 TEST(cbrt(8.0));
lualibm.lua 43 test("cbrt(8.0)", lm.cbrt(8.0))
  /src/include/
tgmath.h 150 #define cbrt(a) __TG_FN1(cbrt, (a)) macro
math.h 295 double cbrt(double);
  /src/lib/lua/libm/
libm.c 114 DFUNC_DBL(cbrt)
250 { "cbrt", libm_cbrt },
  /src/lib/libm/
Makefile 553 sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3

Completed in 15 milliseconds