Home
last modified time | relevance | path

Searched refs:M_PI (Results 1 – 25 of 27) sorted by relevance

12

/openbsd-src/gnu/lib/libiberty/src/
H A D_doprnt.c208 #ifndef M_PI
209 #define M_PI (3.1415926535897932385) macro
261 RESULT(checkit ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); in main()
262 RESULT(printf ("<%4f><%.4f><%%><%4.4f>\n", M_PI, M_PI, M_PI)); in main()
264 RESULT(checkit ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, 3, 3, M_PI)); in main()
265 RESULT(printf ("<%*f><%.*f><%%><%*.*f>\n", 3, M_PI, 3, M_PI, 3, 3, M_PI)); in main()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Drecursion.C3 const double M_PI=3.14159265358979323846; variable
8 const double x=I*2*M_PI/N; in SineSeries()
22 const double x=(I*2*M_PI/N); in Sine()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb93.C3 const double M_PI=3.14159265358979323846; variable
8 const double x=I*2*M_PI/N; in SineSeries()
22 const double x=(I*2*M_PI/N); in Sine()
/openbsd-src/regress/lib/libm/msun/
H A Dctrig_test.c240 0, M_PI / 4, 3 * M_PI / 4, 5 * M_PI / 4, in ATF_TC_BODY()
309 M_PI / 4, M_PI / 2, 3 * M_PI / 4, in ATF_TC_BODY()
310 5 * M_PI / 4, 3 * M_PI / 2, 7 * M_PI / 4, in ATF_TC_BODY()
H A Dnearbyint_test.c64 { M_PI, { 3.0, 3.0, 4.0 }},
H A Dfma_test.c170 testall(M_PI, M_PI, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans()
H A Dcexp_test.c253 M_LN2, M_PI, -2.0, 0.0, in ATF_TC_BODY()
/openbsd-src/lib/libm/src/
H A Db_tgamma.c311 z = sin(M_PI*z); in neg_gam()
313 z = cos(M_PI*(0.5-z)); in neg_gam()
320 lsine = __log__D(M_PI/z); /* = TRUNC(log(u)) + small */ in neg_gam()
335 return (M_PI / (y*z)); in neg_gam()
H A Ds_catanf.c78 t = x/(float)M_PI; in _redupif()
H A Ds_catan.c81 t = x/M_PI; in _redupi()
H A Ds_ctanf.c73 t = x/(float)M_PI; in _redupif()
H A Ds_ctan.c76 t = x/M_PI; in _redupi()
/openbsd-src/gnu/lib/libstdc++/libstdc++/libmath/
H A Dmathconf.h130 #ifndef M_PI
131 # define M_PI 3.14159265358979323846 macro
/openbsd-src/gnu/gcc/libstdc++-v3/libmath/
H A Dmathconf.h125 #ifndef M_PI
126 # define M_PI 3.14159265358979323846 macro
/openbsd-src/games/pom/
H A Dpom.c151 Ec = 360 / M_PI * ECCEN * sin(dtor(Msol)); /* sec 46 #5 */ in potm()
180 return(deg * M_PI / 180); in dtor()
/openbsd-src/games/atc/
H A Ddef.h56 * MAXDIR / (2 * M_PI) + 2.5 + MAXDIR) % MAXDIR)
/openbsd-src/regress/lib/libpthread/preemption_float/
H A Dpreemption_float.c81 d *= M_PI; in trig_loop()
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t89 near(M_PI, 3.14159265358979, "M_PI", 1e-9);
H A Dexport.t113 M_1_PI M_2_PI M_2_SQRTPI M_E M_LN10 M_LN2 M_LOG10E M_LOG2E M_PI
/openbsd-src/include/
H A Dmath.h135 #define M_PI ((double)3.14159265358979323846) /* pi */ macro
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/
H A DMakefile.PL132 M_LOG10E M_LOG2E M_PI M_PI_2 M_PI_4 M_SQRT1_2 M_SQRT2));
H A DPOSIX.xs73 # undef M_PI
87 # define M_PI M_PIq macro
104 # undef M_PI
132 # ifndef M_PI
133 # define M_PI FLOAT_C(3.14159265358979323846264338327950288) macro
/openbsd-src/gnu/llvm/clang/lib/Headers/
H A Dopencl-c-base.h310 #define M_PI 0x1.921fb54442d18p+1 macro
/openbsd-src/gnu/llvm/clang/docs/
H A DObjectiveCLiterals.rst129 NSNumber *piOverTwo = @(M_PI / 2); // [NSNumber numberWithDouble:(M_PI / 2)]
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pod2777 C<M_1_PI> C<M_2_PI> C<M_2_SQRTPI> C<M_E> C<M_LN10> C<M_LN2> C<M_LOG10E> C<M_LOG2E> C<M_PI>

12