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

12

/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_fmod.c38 ATF_TC(fmod); variable
39 ATF_TC_HEAD(fmod, tc)
41 atf_tc_set_md_var(tc, "descr","Check fmod family");
44 ATF_TC_BODY(fmod, tc)
52 ATF_CHECK(fmod(2.0, 1.0) == 0);
56 ATF_CHECK(fmod(2.0, 0.5) == 0);
60 ATF_CHECK(fabs(fmod(1.0, 0.1) - 0.1) <= 55 * DBL_EPSILON);
67 ATF_TP_ADD_TC(tp, fmod);
/freebsd-current/lib/msun/i387/
H A De_fmod.S37 ENTRY(fmod)
46 END(fmod)
/freebsd-current/lib/msun/amd64/
H A De_fmod.S37 ENTRY(fmod)
50 END(fmod)
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dmodulo.h26 // fmod
28 inline _LIBCPP_HIDE_FROM_ABI float fmod(float __x, float __y) _NOEXCEPT { return __builtin_fmodf(__x, __y); }
31 _LIBCPP_HIDE_FROM_ABI double fmod(double __x, double __y) _NOEXCEPT {
35 inline _LIBCPP_HIDE_FROM_ABI long double fmod(long double __x, long double __y) _NOEXCEPT {
40 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type fmod(_A1 __x, _A2 __y) _NOEXCEPT {
43 return __math::fmod((__result_type)__x, (__result_type)__y);
/freebsd-current/contrib/bearssl/src/symcipher/
H A Daes_pwr8.c40 static const uint32_t fmod[] = { 0x11B, 0x11B, 0x11B, 0x11B }; local
75 lxvw4x(39, 0, %[fmod])
137 : [key] "b" (key), [fmod] "b" (fmod)
/freebsd-current/lib/msun/src/
H A De_remainder.c19 * Based on fmod() return x-[x/p]chopped*p exactlp.
51 if (hp<=0x7fdfffff) x = fmod(x,p+p); /* now x < 2p */
H A De_fmod.c14 * fmod(x,y)
27 fmod(double x, double y) function
92 /* fix point fmod */
133 __weak_reference(fmod, fmodl);
H A Dmath.h266 double fmod(double, double);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h77 __DEVICE__ double fmod(double, double);
78 __DEVICE__ float fmod(float, float);
224 using ::fmod;
H A D__clang_cuda_cmath.h55 __DEVICE__ float fmod(float __x, float __y) { return ::fmodf(__x, __y); } function
263 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, fmod);
391 using ::fmod;
H A Dtgmath.h783 // fmod
791 __tg_fmod(double __x, double __y) {return fmod(__x, __y);}
797 #undef fmod macro
798 #define fmod(__x, __y) __tg_fmod(__tg_promote2((__x), (__y))(__x), \ macro
H A D__clang_hip_cmath.h227 __DEF_FUN2(float, fmod)
503 __HIP_OVERLOAD2(double, fmod)
674 using ::fmod;
H A D__clang_cuda_math.h135 __DEVICE__ double fmod(double __a, double __b) { return __nv_fmod(__a, __b); } function
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp129 double X = C * (1 - std::abs(std::fmod(HPrime, 2.0) - 1));
165 return std::fmod(H0 + T * (H1 - H0) + 720, 360);
/freebsd-current/lib/msun/
H A DMakefile179 fma.3 fmax.3 fmod.3 hypot.3 ieee.3 ieee_test.3 ilogb.3 j0.3 \
232 MLINKS+=fmod.3 fmodf.3 fmod.3 fmodl.3
/freebsd-current/include/
H A Dtgmath.h176 #define fmod(x, y) __tg_simple2(x, y, fmod) macro
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc203 using ::fmod;
/freebsd-current/contrib/lua/src/
H A Dllimits.h324 ** so it is better to use 'fmod'. 'fmod' gives the result of
330 ** (as the result 'm' of 'fmod' has the same sign of 'a').
334 { (void)L; (m) = l_mathop(fmod)(a,b); \
H A Dlmathlib.c128 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1),
716 {"fmod", math_fmod},
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h86 floating_point fmod (arithmetic x, arithmetic y);
467 using std::__math::fmod;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c118 TGMACRO_REAL_REAL(fmod)
515 PRINT("fmod",
516 PASS_REAL_REAL_ARG_REAL_RET(fmod));
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_ripencc.c1626 second = (unsigned int) fmod(tow, 60.);
1627 minute = (unsigned int) fmod(tow/60., 60.);
1628 hour = (unsigned int )fmod(tow / 3600., 24.);
3245 seconds = (float)fmod(tow, 60.);
3246 minutes = (short) fmod(tow/60., 60.);
3247 hours = (short)fmod(tow / 3600., 24.);
4709 (short)fmod(time_of_fix/3600., 24.),
4710 (short)fmod(time_of_fix/60., 60.),
4711 fmod(time_of_fix, 60.),
4735 (short)latdeg, fmod (latde
[all...]
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc204 using std::fmod;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp829 GV.FloatVal = std::fmod(LHS.FloatVal,RHS.FloatVal); break;
844 GV.DoubleVal = std::fmod(LHS.DoubleVal,RHS.DoubleVal); break;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp156 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal);
159 Dest.DoubleVal = fmod(Src1.DoubleVal, Src2.DoubleVal);
806 fmod(Src1.AggregateVal[i].FloatVal, Src2.AggregateVal[i].FloatVal);
811 fmod(Src1.AggregateVal[i].DoubleVal, Src2.AggregateVal[i].DoubleVal);

Completed in 443 milliseconds

12