Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/libpng/contrib/tools/
H A DmakesRGB.c63 unsigned int x = nearbyint(finvsRGB(i)); in invsRGB()
131 calc = nearbyint((lo+adjust) * 256); in main()
140 calc = nearbyint((hi-lo) * 32); in main()
155 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
227 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
308 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
340 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
365 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
H A Dcvtcolor.c169 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 65535); in main()
178 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 255); in main()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c221 #ifdef nearbyint in f()
222 {double r = nearbyint(x);} in f()
224 #error no nearbyint(x) in f()
H A Dmath.c179 {double(*p)(double) = nearbyint;} in f()
/third_party/musl/src/math/s390x/
H A Dnearbyint.c5 double nearbyint(double x) in nearbyint() function
13 #include "../nearbyint.c"
/third_party/musl/src/math/aarch64/
H A Dnearbyint.c3 double nearbyint(double x) in nearbyint() function
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dnearbyint.c4 /* nearbyint is the same as rint, but it must not raise the inexact exception */
6 double nearbyint(double x) in nearbyint() function
H A Dnearbyintl.c7 return nearbyint(x); in nearbyintl()
/third_party/musl/src/math/
H A Dnearbyint.c4 /* nearbyint is the same as rint, but it must not raise the inexact exception */
6 double nearbyint(double x) in nearbyint() function
H A Dnearbyintl.c7 return nearbyint(x); in nearbyintl()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_nearbyint_test.cpp17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the nearbyint interface.
24 bool testResult = DoubleUlpCmp(g_nearbyintData[i].expected, nearbyint(g_nearbyintData[i].input), 1); in HWTEST_F()
/third_party/musl/libc-test/src/math/
H A Dnearbyint.c6 #include "sanity/nearbyint.h"
7 #include "special/nearbyint.h"
26 y = nearbyint(p->x); in main()
30 printf("%s:%d: bad fp exception: %s nearbyint(%a)=%a, want %s", in main()
37 printf("%s:%d: %s nearbyint(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h189 #undef nearbyint macro
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro
H A Dmath.h295 double nearbyint(double);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h189 #undef nearbyint macro
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro
H A Dmath.h295 double nearbyint(double);
/third_party/musl/include/
H A Dtgmath.h189 #undef nearbyint macro
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro
H A Dmath.h295 double nearbyint(double);
/third_party/astc-encoder/Source/
H A Dastcenc_vecmathlib_none_4.h873 return vfloat4(std::nearbyint(a.m[0]), in round()
874 std::nearbyint(a.m[1]), in round()
875 std::nearbyint(a.m[2]), in round()
876 std::nearbyint(a.m[3])); in round()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-external-refs.cc81 double value = nearbyint(input); in f64_nearest_int_wrapper()
408 simd_float_round_wrapper<double, &nearbyint>(data); in f64x2_nearest_int_wrapper()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dmath.h295 double nearbyint(double);
/third_party/node/deps/v8/src/compiler/
H A Dtypes.h340 return nearbyint(x) == x && !IsMinusZero(x); // Allows for infinities. in IsInteger()
H A Dnode-matchers.h214 std::nearbyint(this->ResolvedValue()) == this->ResolvedValue(); in IsInteger()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DSubzeroReactor.cpp3245 auto nearbyint = Ice::InstIntrinsic::create(::function, 1, result, intrinsic);
3246 nearbyint->addArg(cast.value());
3247 ::basicBlock->appendInst(nearbyint);
3597 auto nearbyint = Ice::InstIntrinsic::create(::function, 1, result, intrinsic);
3598 nearbyint->addArg(cast.value());
3599 ::basicBlock->appendInst(nearbyint);
3623 auto nearbyint = Ice::InstIntrinsic::create(::function, 1, result, intrinsic);
3624 nearbyint->addArg(clamped.value());
3625 ::basicBlock->appendInst(nearbyint);
/third_party/musl/libc-test/src/math/gen/
H A Dmplibm.c168 int mpnearbyint(struct t *t) { return mpd1(t, nearbyint); } in mpnearbyint()

Completed in 18 milliseconds

12