/netbsd-current/tests/lib/lua/libm/ |
H A D | lualibm.lua | 21 test("M_PI", lm.M_PI) 44 test("ceil(M_PI)", lm.ceil(lm.M_PI)) 55 test("fdim(M_PI, M_PI_2)", lm.fdim(lm.M_PI, lm.M_PI_2)) 56 test("fdim(M_PI, -M_PI_2)", lm.fdim(lm.M_PI, -lm.M_PI_2)) 58 test("floor(M_PI)", lm.floor(lm.M_PI)) [all...] |
H A D | h_lualibm.c | 15 TEST(M_PI); 38 TEST(ceil(M_PI)); 49 TEST(fdim(M_PI, M_PI_2)); 50 TEST(fdim(M_PI, -M_PI_2)); 52 TEST(floor(M_PI)); 54 TEST(fma(M_PI, M_E, M_SQRT2)); 55 TEST(fmax(M_PI, M_E)); 56 TEST(fmin(M_PI, M_E)); 63 TEST(j0(M_PI)); 64 TEST(j1(M_PI)); [all...] |
/netbsd-current/tests/lib/libm/ |
H A D | t_atan.c | 42 { T_LIBM_MINUS_INF, -M_PI / 2 }, 43 { T_LIBM_PLUS_INF, M_PI / 2 }, 47 { -1, -M_PI / 4, }, 50 { 1, M_PI / 4, },
|
H A D | t_acos.c | 68 { -1, M_PI, }, 72 { 0, M_PI / 2, }, 82 * the value will be -M_PI (atan2(-0,-1)) not M_PI.
|
H A D | t_casinh.c | 25 { +5.032E3, +INFINITY, +INFINITY, +M_PI/2}, 27 { +INFINITY, +INFINITY, +INFINITY, +M_PI/4},
|
H A D | t_asin.c | 40 { -1.0, -M_PI / 2, }, 42 { -0.5, -M_PI / 6, }, 45 { 0.5, M_PI / 6, }, 47 { 1.0, M_PI / 2, },
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl3/binutils/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl3/gcc/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl3/gdb/dist/libiberty/ |
H A D | _doprnt.c | 208 #ifndef M_PI 209 #define M_PI (3.1415926535897932385) macro 261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); 264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, [all...] |
/netbsd-current/external/gpl2/groff/dist/src/preproc/pic/ |
H A D | common.cpp | 37 if (dash_angle >= M_PI/4.0) { 38 if (dash_angle < M_PI/2.0) { 39 gap_angle = M_PI/2.0 - dash_angle; 42 else if (dash_angle < M_PI) { 43 gap_angle = M_PI - dash_angle; 52 ndashes = 4*int(ceil(M_PI/(4.0*dash_angle))); 53 gap_angle = (M_PI*2.0)/ndashes - dash_angle; 69 if (gap_angle >= M_PI/2.0) { 71 gap_angle = M_PI; 75 ndots = 4*int(M_PI/(2. [all...] |
H A D | pic.h | 67 #ifndef M_PI 68 #define M_PI 3.14159265358979323846 macro
|
/netbsd-current/external/lgpl3/gmp/dist/demos/ |
H A D | qcn.c | 47 #ifndef M_PI 48 #define M_PI 3.14159265358979323846 macro 95 h = sqrt (-mpz_get_d (d)) / M_PI
|
/netbsd-current/lib/libm/src/ |
H A D | s_cospif.c | 42 #define __kernel_cospif(x) (__kernel_cosdf(M_PI * (x))) 43 #define __kernel_sinpif(x) (__kernel_sindf(M_PI * (x)))
|
H A D | s_sinpif.c | 44 #define __kernel_cospif(x) (__kernel_cosdf(M_PI * (x))) 45 #define __kernel_sinpif(x) (__kernel_sindf(M_PI * (x)))
|
H A D | s_tanpif.c | 51 t = __kernel_tandf(M_PI * x, 1); 53 t = -__kernel_tandf(M_PI * (0.5 - x), -1);
|
H A D | b_tgamma.c | 292 z = sin(M_PI*z); 294 z = cos(M_PI*(0.5-z)); 301 lsine = __log__D(M_PI/z); /* = TRUNC(log(u)) + small */ 316 return (M_PI / (y*z));
|
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-double.c | 121 #ifndef M_PI 122 #define M_PI 3.141592653589793238462643383279502884 macro 133 { M_PI, "3" }, 134 { M_PI*1e15, "b29430a256d21" }, 135 { -M_PI*1e15, "-b29430a256d21" },
|
/netbsd-current/lib/libm/complex/ |
H A D | cephes_subr.c | 70 t = x / M_PI;
|
H A D | cephes_subrf.c | 70 t = x / (float)M_PI;
|
/netbsd-current/lib/libm/noieee_src/ |
H A D | n_gamma.c | 308 z = sin(M_PI*z); 310 z = cos(M_PI*(0.5-z)); 317 lsine = __log__D(M_PI/z); /* = TRUNC(log(u)) + small */ 332 return (M_PI / (y*z));
|
H A D | n_lgamma.c | 302 z = sin(M_PI*z); 304 z = cos(M_PI*(0.5-z)); 305 z = log(M_PI/(z*x));
|
/netbsd-current/external/gpl2/groff/dist/src/devices/xditview/ |
H A D | draw.c | 16 /* math.h on a Sequent doesn't define M_PI, apparently */ 17 #ifndef M_PI 18 #define M_PI 3.14159265358979323846 macro 514 angle1 = (int)(atan2 ((double)y_0, (double)-x_0)*180.0*64.0/M_PI); 515 angle2 = (int)(atan2 ((double)-y_1, (double)x_1)*180.0*64.0/M_PI);
|