Home
last modified time | relevance | path

Searched refs:lrint (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtrasTest.cpp35 EXPECT_EQ(-8, lrint(-7.5)); in TEST()
36 EXPECT_EQ(-8, lrint(-8.5)); in TEST()
37 EXPECT_EQ(0, lrint(-0.5)); in TEST()
38 EXPECT_EQ(0, lrint(0.5)); in TEST()
39 EXPECT_EQ(0, lrint(-0.5)); in TEST()
40 EXPECT_EQ(1, lrint(1.3)); in TEST()
41 EXPECT_EQ(2, lrint(1.7)); in TEST()
42 EXPECT_EQ(0, lrint(0)); in TEST()
43 EXPECT_EQ(0, lrint(-0)); in TEST()
46 EXPECT_EQ(pow(2.0, 52), lrint(pow(2.0, 52) - 0.5)); in TEST()
[all …]
DUint8ClampedArray.h103 data()[index] = static_cast<unsigned char>(lrint(value)); in set()
DMathExtras.h178 inline long int lrint(double flt) in lrint() function
/external/valgrind/main/none/tests/mips64/
Dtest_math.stdout.exp2 lrint(1234.01): 1235
6 lrint(1234.01): 1234
Dtest_math.cpp17 printf("lrint(1234.01): %ld\n", lrint(1234.01)); in main()
22 printf("lrint(1234.01): %ld\n", lrint(1234.01)); in main()
/external/valgrind/main/none/tests/mips32/
Dtest_math.stdout.exp2 lrint(1234.01): 1235
6 lrint(1234.01): 1234
Dtest_math.cpp17 printf("lrint(1234.01): %ld\n", lrint(1234.01)); in main()
22 printf("lrint(1234.01): %ld\n", lrint(1234.01)); in main()
/external/chromium_org/v8/src/base/
Dqnx-math.h17 using std::lrint;
/external/llvm/test/CodeGen/X86/
Dpr1489.ll21 %tmp1 = tail call i32 @lrint( double 3.999000e+00 ) ; <i32> [#uses=1]
27 declare i32 @lrint(double)
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
Dos_specific_inline.h19 #define WebRtcIsac_lrint lrint
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dos_specific_inline.h20 #define WebRtcIsac_lrint lrint
/external/chromium_org/third_party/opus/src/celt/
Dfloat_cast.h91 #define float2int(x) lrint(x)
/external/libopus/celt/
Dfloat_cast.h91 #define float2int(x) lrint(x)
/external/chromium_org/third_party/opus/src/src/
Dmlp_train.h54 i = lrint(25*x); in tansig_approx()
/external/clang/test/CodeGen/
Dlibcall-declarations.c130 long int lrint(double);
288 F(lrint), F(lrintf), F(lrintl), F(lround), F(lroundf),
/external/libcxx/test/numerics/c.math/
Dcmath.disabled.cpp1041 static_assert((std::is_same<decltype(std::lrint((float)0)), long>::value), ""); in test_lrint()
1042 static_assert((std::is_same<decltype(std::lrint((bool)0)), long>::value), ""); in test_lrint()
1043 static_assert((std::is_same<decltype(std::lrint((unsigned short)0)), long>::value), ""); in test_lrint()
1044 static_assert((std::is_same<decltype(std::lrint((int)0)), long>::value), ""); in test_lrint()
1045 static_assert((std::is_same<decltype(std::lrint((unsigned int)0)), long>::value), ""); in test_lrint()
1046 static_assert((std::is_same<decltype(std::lrint((long)0)), long>::value), ""); in test_lrint()
1047 static_assert((std::is_same<decltype(std::lrint((unsigned long)0)), long>::value), ""); in test_lrint()
1048 static_assert((std::is_same<decltype(std::lrint((long long)0)), long>::value), ""); in test_lrint()
1049 static_assert((std::is_same<decltype(std::lrint((unsigned long long)0)), long>::value), ""); in test_lrint()
1050 static_assert((std::is_same<decltype(std::lrint((double)0)), long>::value), ""); in test_lrint()
[all …]
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/
Dmath.pxd75 long lrint(double)
/external/chromium_org/v8/src/base/platform/
Dplatform.h54 inline int lrint(double flt) { in lrint() function
/external/clang/lib/Headers/
Dtgmath.h1004 __tg_lrint(double __x) {return lrint(__x);} in __tg_lrint()
1010 #undef lrint
1011 #define lrint(__x) __tg_lrint(__tg_promote1((__x))(__x)) macro
/external/chromium_org/third_party/opus/src/
Dconfig.h.in33 /* Define to 1 if you have the `lrint' function. */
/external/libopus/
Dconfig.h.in33 /* Define to 1 if you have the `lrint' function. */
Dconfigure.ac410 AC_CHECK_FUNCS([lrint])
/external/libcxx/include/
Dcmath240 long lrint (arithmetic x);
1400 // lrint
1402 using ::lrint;
1405 inline _LIBCPP_INLINE_VISIBILITY long lrint(float __x) _NOEXCEPT {return lrintf(__x);}
1406 inline _LIBCPP_INLINE_VISIBILITY long lrint(long double __x) _NOEXCEPT {return lrintl(__x);}
1411 lrint(_A1 __x) _NOEXCEPT {return lrint((double)__x);}
/external/ltrace/etc/
Dlibm.so.conf264 long lrint(double);
/external/libcxx/test/depr/depr.c.headers/
Dmath_h.disabled.cpp499 static_assert((std::is_same<decltype(lrint((double)0)), long>::value), ""); in test_lrint()
502 assert(lrint(1) == 1L); in test_lrint()

12