Home
last modified time | relevance | path

Searched refs:nearbyint (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/libpng/contrib/tools/
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()
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/skia/third_party/externals/libpng/contrib/tools/
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()
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/flutter/skia/third_party/externals/libpng/contrib/tools/
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()
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/boost/boost/numeric/conversion/
Dconverter_policies.hpp36 static source_type nearbyint ( argument_type s ) in nearbyint() function
58 static source_type nearbyint ( argument_type s ) in nearbyint() function
77 static source_type nearbyint ( argument_type s ) in nearbyint() function
96 static source_type nearbyint ( argument_type s ) in nearbyint() function
/third_party/boost/boost/lexical_cast/detail/
Dconverter_numeric.hpp49 static inline source_type nearbyint(argument_type s, bool& is_ok) BOOST_NOEXCEPT { in nearbyint() function
50 const source_type near_int = Rounder::nearbyint(s); in nearbyint()
72 static inline source_type nearbyint(argument_type s, bool& /*is_ok*/) BOOST_NOEXCEPT { in nearbyint() function
101 result = converter_t::low_level_convert(converter_t::nearbyint(arg, res)); in noexcept_numeric_convert()
/third_party/boost/libs/numeric/conversion/test/
Dconverter_test.cpp258 T tl1 = static_cast<T>( Converter::nearbyint(sl1) ); in test_rounding_conversion()
259 T tl0 = static_cast<T>( Converter::nearbyint(sl0) ); in test_rounding_conversion()
260 T t = static_cast<T>( Converter::nearbyint(s) ); in test_rounding_conversion()
261 T tr0 = static_cast<T>( Converter::nearbyint(sr0) ); in test_rounding_conversion()
262 T tr1 = static_cast<T>( Converter::nearbyint(sr1) ); in test_rounding_conversion()
370 double r = boost::numeric::RoundEven<double>::nearbyint(n); in test_round_even()
Dnumeric_cast_traits_test.cpp235 static source_type nearbyint ( argument_type s ) in nearbyint() function
257 static source_type nearbyint ( argument_type s ) in nearbyint() function
/third_party/boost/libs/numeric/conversion/doc/
Dconverter_policies.qbk128 for [_float to integral] conversions. It supplies the `nearbyint()`
140 static source_type nearbyint ( argument_type s ) { ... }
160 static source_type nearbyint ( argument_type s )
175 static source_type nearbyint ( argument_type s )
187 static source_type nearbyint ( argument_type s )
200 static source_type nearbyint ( argument_type s )
Dconverter.qbk43 static source_type nearbyint ( argument_type s ) ;
86 It supplies the `nearbyint()` static member function exposed by the converter.
126 s = nearbyint(s); // Externally supplied by the Float2IntRounder policy.
192 [: `static source_type converter<>::nearbyint ( argument_type s ) ;`]
/third_party/boost/boost/units/detail/
Dcmath_impl.hpp123 inline Y nearbyint(const Y& val)
137 return nearbyint(val);
/third_party/musl/src/math/aarch64/
Dnearbyint.c3 double nearbyint(double x) in nearbyint() function
/third_party/musl/libc-test/src/api/
Dtgmath.c221 #ifdef nearbyint in f()
222 {double r = nearbyint(x);} in f()
224 #error no nearbyint(x) in f()
/third_party/musl/src/math/s390x/
Dnearbyint.c5 double nearbyint(double x) in nearbyint() function
/third_party/musl/porting/liteos_a/kernel/src/math/
Dnearbyint.c6 double nearbyint(double x) in nearbyint() function
Dnearbyintl.c7 return nearbyint(x); in nearbyintl()
/third_party/musl/src/math/
Dnearbyint.c6 double nearbyint(double x) in nearbyint() function
Dnearbyintl.c7 return nearbyint(x); in nearbyintl()
/third_party/boost/boost/numeric/conversion/detail/
Dconverter.hpp462 static source_type nearbyint ( argument_type s ) { return s ; } in nearbyint() function
488 source_type s1 = Float2IntRounderBase::nearbyint(s); in convert()
510 static source_type nearbyint ( argument_type s ) { return s ; } in nearbyint() function
/third_party/musl/libc-test/src/math/
Dnearbyint.c26 y = nearbyint(p->x); in main()
/third_party/musl/include/
Dtgmath.h189 #undef nearbyint
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro
/third_party/musl/porting/uniproton/kernel/include/
Dtgmath.h189 #undef nearbyint
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
Dtgmath.h189 #undef nearbyint
252 #define nearbyint(x) __tg_real(nearbyint, (x)) macro

1234