Home
last modified time | relevance | path

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

/freebsd/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_asin.c40 { -1.0, -M_PI / 2, },
42 { -0.5, -M_PI / 6, },
45 { 0.5, M_PI / 6, },
47 { 1.0, M_PI / 2, },
H A Dt_acos.c68 { -1, M_PI, },
72 { 0, M_PI / 2, },
H A Dt_casinh.c25 { +5.032E3, +INFINITY, +INFINITY, +M_PI/2},
27 { +INFINITY, +INFINITY, +INFINITY, +M_PI/4},
/freebsd/lib/msun/tests/
H A Dctrig_test.c237 0, M_PI / 4, 3 * M_PI / 4, 5 * M_PI / 4, in ATF_TC_BODY()
306 M_PI / 4, M_PI / 2, 3 * M_PI / 4, in ATF_TC_BODY()
307 5 * M_PI / 4, 3 * M_PI / 2, 7 * M_PI / 4, in ATF_TC_BODY()
H A Dnearbyint_test.c61 { M_PI, { 3.0, 3.0, 4.0 }},
H A Dfma_test.c167 testall(M_PI, M_PI, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans()
H A Dcexp_test.c241 M_LN2, M_PI, -2.0, 0.0, in ATF_TC_BODY()
/freebsd/lib/msun/src/
H A Ds_cospif.c38 #define __kernel_cospif(x) (__kernel_cosdf(M_PI * (x)))
39 #define __kernel_sinpif(x) (__kernel_sindf(M_PI * (x)))
H A Ds_tanpif.c47 t = __kernel_tandf(M_PI * x, 1); in __kernel_tanpif()
49 t = -__kernel_tandf(M_PI * (0.5 - x), -1); in __kernel_tanpif()
H A Ds_sinpif.c39 #define __kernel_cospif(x) (__kernel_cosdf(M_PI * (x)))
40 #define __kernel_sinpif(x) (__kernel_sindf(M_PI * (x)))
H A Dmath.h131 #define M_PI 3.14159265358979323846 /* pi */ macro
/freebsd/contrib/arm-optimized-routines/pl/math/
H A Dsinpi_3u.c55 return M_PI * x; in sinpi()
/freebsd/lib/msun/bsdsrc/
H A Db_tgamma.c333 lsine = __log__D(M_PI / z); /* = TRUNC(log(u)) + small */ in neg_gam()
350 return (M_PI / (y * z)); in neg_gam()
/freebsd/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk243 x = (M_PI * i) / (1.0 * num);
264 x = (M_PI * i) / nm;
615 M_PI = atan2(0.0, -1.0);
H A Dfeeder_eq_mkfilter.awk85 return ((2.0 * M_PI * fc) / (1.0 * rate));
259 M_PI = atan2(0.0, -1.0);
/freebsd/usr.bin/calendar/
H A Dsunpos.c45 #define D2R(m) ((m) / 180 * M_PI)
46 #define R2D(m) ((m) * 180 / M_PI)
/freebsd/contrib/ntp/ntpd/
H A Dntp_timer.c629 leap_smear.doffset = -((double) lsdata.tai_diff - cos( M_PI * leap_smear_time / leap_smear.interval)) / 2.0; in check_leapsec()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c-base.h315 #define M_PI 0x1.921fb54442d18p+1 macro
/freebsd/contrib/sqlite3/
H A Dsqlite3.c130972 #ifndef M_PI
130973 # define M_PI 3.141592653589793238462643383279502884
131094 static double degToRad(double x){ return x*(M_PI/180.0); }
131095 static double radToDeg(double x){ return x*(180.0/M_PI); }
131154 sqlite3_result_double(context, M_PI);