Home
last modified time | relevance | path

Searched refs:fmod (Results 1 – 25 of 237) sorted by relevance

12345678910

/third_party/boost/libs/numeric/interval/test/
Dfmod.cpp40 BOOST_CHECK(equal(fmod(I(6,9), 7), I(6,9))); in test_main()
41 BOOST_CHECK(equal(fmod(6, I(7,8)), I(6,6))); in test_main()
42 BOOST_CHECK(equal(fmod(I(6,9), I(7,8)), I(6,9))); in test_main()
44 BOOST_CHECK(equal(fmod(I(13,17), 7), I(6,10))); in test_main()
45 BOOST_CHECK(equal(fmod(13, I(7,8)), I(5,6))); in test_main()
46 BOOST_CHECK(equal(fmod(I(13,17), I(7,8)), I(5,10))); in test_main()
48 BOOST_CHECK(equal(fmod(I(-17,-13), 7), I(4,8))); in test_main()
49 BOOST_CHECK(equal(fmod(-17, I(7,8)), I(4,7))); in test_main()
50 BOOST_CHECK(equal(fmod(I(-17,-13), I(7,8)), I(4,11))); in test_main()
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c478 GEN_DBL_TEST (fmod (0.0, 0.0)); in main()
479 GEN_DBL_TEST (fmod (0.0, -0.0)); in main()
480 GEN_DBL_TEST (fmod (-0.0, 0.0)); in main()
481 GEN_DBL_TEST (fmod (-0.0, -0.0)); in main()
482 GEN_DBL_TEST (fmod (0.0, 3.0)); in main()
483 GEN_DBL_TEST (fmod (0.0, -3.0)); in main()
484 GEN_DBL_TEST (fmod (-0.0, 3.0)); in main()
485 GEN_DBL_TEST (fmod (-0.0, -3.0)); in main()
486 GEN_DBL_TEST (fmod (0.0, INFINITY)); in main()
487 GEN_DBL_TEST (fmod (0.0, -INFINITY)); in main()
[all …]
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h342 check_double ("fmod (0.0, 0.0)", fmod (0.0, 0.0), -NAN);
343 check_double ("fmod (0.0, -0.0)", fmod (0.0, -0.0), -NAN);
344 check_double ("fmod (-0.0, 0.0)", fmod (-0.0, 0.0), -NAN);
345 check_double ("fmod (-0.0, -0.0)", fmod (-0.0, -0.0), -NAN);
346 check_double ("fmod (0.0, 3.0)", fmod (0.0, 3.0), 0.00000000000000000000E+00);
347 check_double ("fmod (0.0, -3.0)", fmod (0.0, -3.0), 0.00000000000000000000E+00);
348 check_double ("fmod (-0.0, 3.0)", fmod (-0.0, 3.0), -0.00000000000000000000E+00);
349 check_double ("fmod (-0.0, -3.0)", fmod (-0.0, -3.0), -0.00000000000000000000E+00);
350 check_double ("fmod (0.0, INFINITY)", fmod (0.0, INFINITY), 0.00000000000000000000E+00);
351 check_double ("fmod (0.0, -INFINITY)", fmod (0.0, -INFINITY), 0.00000000000000000000E+00);
[all …]
/third_party/musl/src/math/i386/
Dfmod.s1 .global fmod symbol
2 .type fmod,@function
3 fmod: label
/third_party/boost/libs/multiprecision/test/concepts/
Dnumber_concept_check.cpp146 t = fmod(t, t); in test_extra()
147 t = fmod(t, t * t); in test_extra()
148 t = fmod(t, dval); in test_extra()
149 t = fmod(t * t, t); in test_extra()
150 t = fmod(t * t, t * t); in test_extra()
151 t = fmod(t * t, dval); in test_extra()
152 t = fmod(dval, t); in test_extra()
153 t = fmod(dval, t * t); in test_extra()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcommon.inl14 return detail::functor2<T, P, vecType>::call(std::fmod, a, b);
94 // fmod
96 GLM_FUNC_QUALIFIER genType fmod(genType x, genType y) function
98 return fmod(tvec1<genType>(x), y).x;
102 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, T y) function
108 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, vecType<T, P> const & y) function
Dcommon.hpp48 GLM_FUNC_DECL vecType<T, P> fmod(vecType<T, P> const & v);
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-date.c75 ecma_number_t modulo = fmod (time, ECMA_DATE_MS_PER_DAY); in ecma_date_time_within_day()
173 int mod_400 = (int) fmod (floor (year), 400); in ecma_date_in_leap_year()
315 ecma_number_t week_day = (ecma_number_t) fmod ((ecma_date_day (time) + 4), 7); in ecma_date_week_day()
362 ecma_number_t hour = (ecma_number_t) fmod (floor (time / ECMA_DATE_MS_PER_HOUR), in ecma_date_hour_from_time()
380 ecma_number_t min = (ecma_number_t) fmod (floor (time / ECMA_DATE_MS_PER_MINUTE), in ecma_date_min_from_time()
398 ecma_number_t sec = (ecma_number_t) fmod (floor (time / ECMA_DATE_MS_PER_SECOND), in ecma_date_sec_from_time()
416 ecma_number_t milli = (ecma_number_t) fmod (time, ECMA_DATE_MS_PER_SECOND); in ecma_date_ms_from_time()
489 ecma_number_t mn = (ecma_number_t) fmod (m, 12); in ecma_date_make_day()
/third_party/flutter/skia/tools/timer/
DTimeUtils.h29 value = ::fmod(value, (double)(period));
41 double value = ::fmod(time + phase, period); in PingPong()
/third_party/skia/tools/timer/
DTimeUtils.h30 value = ::fmod(value, (double)(period));
42 double value = ::fmod(time + phase, period); in PingPong()
/third_party/flutter/skia/modules/skottie/gm/
DSkottieGM.cpp80 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
133 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
206 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
/third_party/skia/modules/skottie/gm/
DSkottieGM.cpp79 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
137 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
221 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dround.inl79 return Source + (Multiple - std::fmod(Source, Multiple));
81 return Source + std::fmod(-Source, Multiple);
122 return Source - std::fmod(Source, Multiple);
124 return Source - std::fmod(Source, Multiple) - Multiple;
170 return Source - std::fmod(Source, Multiple);
174 return Tmp - std::fmod(Tmp, Multiple) - Multiple;
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-conversion.c888 JERRY_ASSERT (fabs (fmod (val, 1.0)) < EPSILON); in ecma_number_of_digits()
913 double mod_res = fmod (val, divider); in ecma_double_to_ascii()
921 mod_res = fmod (val, divider); in ecma_double_to_ascii()
945 fraction_part = fmod (val, 1.0); in ecma_double_to_binary_floating_point()
958 …buffer_p[num_of_digits - 1 - char_cnt++] = (lit_utf8_byte_t) ((int) fmod (integer_part, 10.0) + '0… in ecma_double_to_binary_floating_point()
982 fraction_part = fmod (fraction_part, 1.0); in ecma_double_to_binary_floating_point()
/third_party/musl/libc-test/src/api/
Dtgmath.c146 #ifdef fmod in f()
147 {double r = fmod(x,y);} in f()
149 #error no fmod(x,y) in f()
/third_party/ltp/testcases/misc/math/float/
Dfloat_power.c35 {FUNC_FMOD, 50, fmod, "fmod", "fmod_inp.ref", "fmod_out.ref",
/third_party/skia/third_party/externals/tint/test/expressions/binary/mod/scalar-scalar/
Df32.wgsl.expected.msl7 float const r = fmod(a, b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/mod/vec3-vec3/
Df32.wgsl.expected.msl7 float3 const r = fmod(a, b);
/third_party/boost/boost/math/tools/
Dworkaround.hpp25 return fmod(a, b); in fmod_workaround()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/
Dfrem.asm.frag20 out.FragColor = fmod(in.vA, in.vB);
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/frag/
Dfrem.asm.frag20 out.FragColor = fmod(in.vA, in.vB);
/third_party/glslang/Test/
Dhlsl.intrinsics.vert29 fmod(inF0, inF1);
99 fmod(inF0, inF1);
169 fmod(inF0, inF1);
239 fmod(inF0, inF1);
302 fmod(inF0, inF1); \
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/asm/frag/
Dfrem.asm.frag18 FragColor = fmod(vA, vB);
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/asm/frag/
Dfrem.asm.frag18 FragColor = fmod(vA, vB);
/third_party/ffmpeg/compat/djgpp/
Dmath.c36 return fmod(x, y); in fmodl()

12345678910