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

/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_atan.c42 { 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 Dt_acos.c68 { -1, M_PI, },
72 { 0, M_PI / 2, },
82 * the value will be -M_PI (atan2(-0,-1)) not M_PI.
H A Dt_casinh.c25 { +5.032E3, +INFINITY, +INFINITY, +M_PI/2},
27 { +INFINITY, +INFINITY, +INFINITY, +M_PI/4},
H A Dt_asin.c39 { -1.0, -M_PI / 2, },
41 { -0.5, -M_PI / 6, },
44 { 0.5, M_PI / 6, },
46 { 1.0, M_PI / 2, },
/freebsd-11-stable/contrib/gcclibs/libiberty/
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));
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...]
/freebsd-11-stable/contrib/binutils/libiberty/
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));
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...]
/freebsd-11-stable/contrib/groff/src/preproc/pic/
H A Dcommon.cpp35 if (dash_angle >= M_PI/4.0) {
36 if (dash_angle < M_PI/2.0) {
37 gap_angle = M_PI/2.0 - dash_angle;
40 else if (dash_angle < M_PI) {
41 gap_angle = M_PI - dash_angle;
50 ndashes = 4*int(ceil(M_PI/(4.0*dash_angle)));
51 gap_angle = (M_PI*2.0)/ndashes - dash_angle;
67 if (gap_angle >= M_PI/2.0) {
69 gap_angle = M_PI;
73 ndots = 4*int(M_PI/(2.
[all...]
H A Dpic.h65 #ifndef M_PI
66 #define M_PI 3.14159265358979323846 macro
H A Dtex.cpp252 (-end_angle > -start_angle) ? (double)M_PI * 2 - start_angle
H A Dobject.cpp1698 double start_quad = atan2(start_offset.y, start_offset.x)/(M_PI/2.0);
1699 double end_quad = atan2(end_offset.y, end_offset.x)/(M_PI/2.0);
/freebsd-11-stable/contrib/libstdc++/libmath/
H A Dmathconf.h125 #ifndef M_PI
126 # define M_PI 3.14159265358979323846 macro
/freebsd-11-stable/lib/msun/bsdsrc/
H A Db_tgamma.c292 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));
/freebsd-11-stable/lib/msun/tests/
H A Dctrig_test.c246 0, M_PI / 4, 3 * M_PI / 4, 5 * M_PI / 4,
315 M_PI / 4, M_PI / 2, 3 * M_PI / 4,
316 5 * M_PI / 4, 3 * M_PI / 2, 7 * M_PI / 4,
H A Dnearbyint_test.c67 { M_PI, { 3.0, 3.0, 4.0 }},
H A Dcexp_test.c249 M_LN2, M_PI, -2.0, 0.0,
H A Dfma_test.c172 testall(M_PI, M_PI, NAN, NAN, ALL_STD_EXCEPT, 0);
/freebsd-11-stable/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk242 x = (M_PI * i) / (1.0 * num);
263 x = (M_PI * i) / nm;
614 M_PI = atan2(0.0, -1.0);
H A Dfeeder_eq_mkfilter.awk84 return ((2.0 * M_PI * fc) / (1.0 * rate));
258 M_PI = atan2(0.0, -1.0);
/freebsd-11-stable/usr.bin/calendar/
H A Dsunpos.c47 #define D2R(m) ((m) / 180 * M_PI)
48 #define R2D(m) ((m) * 180 / M_PI)
/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Ddraw.c14 /* math.h on a Sequent doesn't define M_PI, apparently */
15 #ifndef M_PI
16 #define M_PI 3.14159265358979323846 macro
512 angle1 = (int)(atan2 ((double)y_0, (double)-x_0)*180.0*64.0/M_PI);
513 angle2 = (int)(atan2 ((double)-y_1, (double)x_1)*180.0*64.0/M_PI);
/freebsd-11-stable/lib/msun/src/
H A Dmath.h148 #define M_PI 3.14159265358979323846 /* pi */ macro
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c-base.h208 #define M_PI 0x1.921fb54442d18p+1 macro
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_timer.c618 leap_smear.doffset = -((double) lsdata.tai_diff - cos( M_PI * leap_smear_time / leap_smear.interval)) / 2.0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp15 // According to Microsoft, one must set _USE_MATH_DEFINES in order to get M_PI
1600 auto OneOver2Pi = B.buildFConstant(Ty, 0.5 / M_PI);
H A DSIISelLowering.cpp15 // Provide M_PI.
7981 SDValue OneOver2Pi = DAG.getConstantFP(0.5 / M_PI, DL, VT);

Completed in 198 milliseconds