/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/test/src/math/ |
H A D | truncl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::truncl(zero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::truncl(inf)); in TEST() 30 ASSERT_NE(isnan(__llvm_libc::truncl(nan)), 0); in TEST() 34 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.0l)); in TEST() 35 EXPECT_FP_EQ(-1.0l, __llvm_libc::truncl(-1.0l)); in TEST() 36 EXPECT_FP_EQ(10.0l, __llvm_libc::truncl(10.0l)); in TEST() 43 EXPECT_FP_EQ(0.0l, __llvm_libc::truncl(0.5l)); in TEST() 44 EXPECT_FP_EQ(-0.0l, __llvm_libc::truncl(-0.5l)); in TEST() 49 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.3l)); in TEST() 51 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.5l)); in TEST() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/test/src/math/ |
H A D | truncl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::truncl(zero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::truncl(inf)); in TEST() 29 EXPECT_FP_EQ(aNaN, __llvm_libc::truncl(aNaN)); in TEST() 33 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.0l)); in TEST() 34 EXPECT_FP_EQ(-1.0l, __llvm_libc::truncl(-1.0l)); in TEST() 35 EXPECT_FP_EQ(10.0l, __llvm_libc::truncl(10.0l)); in TEST() 42 EXPECT_FP_EQ(0.0l, __llvm_libc::truncl(0.5l)); in TEST() 43 EXPECT_FP_EQ(-0.0l, __llvm_libc::truncl(-0.5l)); in TEST() 48 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.3l)); in TEST() 50 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.5l)); in TEST() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/test/src/math/ |
H A D | truncl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::truncl(zero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::truncl(inf)); in TEST() 29 EXPECT_FP_EQ(aNaN, __llvm_libc::truncl(aNaN)); in TEST() 33 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.0l)); in TEST() 34 EXPECT_FP_EQ(-1.0l, __llvm_libc::truncl(-1.0l)); in TEST() 35 EXPECT_FP_EQ(10.0l, __llvm_libc::truncl(10.0l)); in TEST() 42 EXPECT_FP_EQ(0.0l, __llvm_libc::truncl(0.5l)); in TEST() 43 EXPECT_FP_EQ(-0.0l, __llvm_libc::truncl(-0.5l)); in TEST() 48 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.3l)); in TEST() 50 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.5l)); in TEST() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/tests/ |
H A D | test-truncl.c | 43 ASSERT (truncl (0.0L) == 0.0L); in main() 46 ASSERT (truncl (0.3L) == 0.0L); in main() 47 ASSERT (truncl (0.7L) == 0.0L); in main() 48 ASSERT (truncl (1.0L) == 1.0L); in main() 49 ASSERT (truncl (1.5L) == 1.0L); in main() 50 ASSERT (truncl (1.999L) == 1.0L); in main() 51 ASSERT (truncl (2.0L) == 2.0L); in main() 56 ASSERT (truncl (-0.3L) == 0.0L); in main() 57 ASSERT (truncl (-0.7L) == 0.0L); in main() 58 ASSERT (truncl (-1.0L) == -1.0L); in main() [all …]
|
H A D | test-truncl-ieee.c | 41 ASSERT (!signbit (truncl (0.0L))); in main() 42 ASSERT (!!signbit (truncl (minus_zerol)) == !!signbit (minus_zerol)); in main() 44 ASSERT (!signbit (truncl (0.3L))); in main() 45 ASSERT (!signbit (truncl (0.7L))); in main() 47 ASSERT (!!signbit (truncl (-0.3L)) == !!signbit (minus_zerol)); in main() 48 ASSERT (!!signbit (truncl (-0.7L)) == !!signbit (minus_zerol)); in main() 53 ASSERT (isnanl (truncl (NaNl ()))); in main() 55 ASSERT (truncl (Infinityl ()) == Infinityl ()); in main() 56 ASSERT (truncl (- Infinityl ()) == - Infinityl ()); in main()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/ |
H A D | test-truncl.c | 43 ASSERT (truncl (0.0L) == 0.0L); in main() 46 ASSERT (truncl (0.3L) == 0.0L); in main() 47 ASSERT (truncl (0.7L) == 0.0L); in main() 48 ASSERT (truncl (1.0L) == 1.0L); in main() 49 ASSERT (truncl (1.5L) == 1.0L); in main() 50 ASSERT (truncl (1.999L) == 1.0L); in main() 51 ASSERT (truncl (2.0L) == 2.0L); in main() 56 ASSERT (truncl (-0.3L) == 0.0L); in main() 57 ASSERT (truncl (-0.7L) == 0.0L); in main() 58 ASSERT (truncl (-1.0L) == -1.0L); in main() [all …]
|
H A D | test-truncl-ieee.c | 41 ASSERT (!signbit (truncl (0.0L))); in main() 42 ASSERT (!!signbit (truncl (minus_zerol)) == !!signbit (minus_zerol)); in main() 44 ASSERT (!signbit (truncl (0.3L))); in main() 45 ASSERT (!signbit (truncl (0.7L))); in main() 47 ASSERT (!!signbit (truncl (-0.3L)) == !!signbit (minus_zerol)); in main() 48 ASSERT (!!signbit (truncl (-0.7L)) == !!signbit (minus_zerol)); in main() 53 ASSERT (isnanl (truncl (NaNl ()))); in main() 55 ASSERT (truncl (Infinityl ()) == Infinityl ()); in main() 56 ASSERT (truncl (- Infinityl ()) == - Infinityl ()); in main()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libc/test/src/math/ |
H A D | truncl_test.cpp | 32 ASSERT_TRUE(isnan(__llvm_libc::truncl(nan)) != 0); in TEST() 36 ASSERT_TRUE(FPBits(1.0l) == __llvm_libc::truncl(1.0l)); in TEST() 37 ASSERT_TRUE(FPBits(-1.0l) == __llvm_libc::truncl(-1.0l)); in TEST() 38 ASSERT_TRUE(FPBits(10.0l) == __llvm_libc::truncl(10.0l)); in TEST() 39 ASSERT_TRUE(FPBits(-10.0l) == __llvm_libc::truncl(-10.0l)); in TEST() 40 ASSERT_TRUE(FPBits(1234.0l) == __llvm_libc::truncl(1234.0l)); in TEST() 45 ASSERT_TRUE(FPBits(1.0l) == __llvm_libc::truncl(1.5l)); in TEST() 46 ASSERT_TRUE(FPBits(-1.0l) == __llvm_libc::truncl(-1.75l)); in TEST() 47 ASSERT_TRUE(FPBits(10.0l) == __llvm_libc::truncl(10.32l)); in TEST() 48 ASSERT_TRUE(FPBits(-10.0l) == __llvm_libc::truncl(-10.65l)); in TEST() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/ |
H A D | truncl.texi | 1 @node truncl 2 @section @code{truncl} 3 @findex truncl 5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/truncl.html} 7 Gnulib module: truncl or truncl-ieee 9 Portability problems fixed by either Gnulib module @code{truncl} or @code{truncl-ieee}: 19 Portability problems fixed by Gnulib module @code{truncl-ieee}:
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/m4/ |
H A D | truncl.m4 | 1 # truncl.m4 serial 17 14 dnl Persuade glibc <math.h> to declare truncl(). 17 dnl Test whether truncl() is declared. 18 AC_CHECK_DECLS([truncl], , , [[#include <math.h>]]) 20 dnl Test whether truncl() can be used without libm. 28 long double (*funcptr) (long double) = truncl; 30 [[x = funcptr(x) + truncl(x);]])], 43 [[x = funcptr(x) + truncl(x);]])], 61 x = truncl (0.0L); 99 /* Test whether truncl (-0.3L) is -0.0L. */ [all …]
|
/dports/textproc/datamash/datamash-1.7/m4/ |
H A D | truncl.m4 | 1 # truncl.m4 serial 17 14 dnl Persuade glibc <math.h> to declare truncl(). 17 dnl Test whether truncl() is declared. 18 AC_CHECK_DECLS([truncl], , , [[#include <math.h>]]) 20 dnl Test whether truncl() can be used without libm. 28 long double (*funcptr) (long double) = truncl; 30 [[x = funcptr(x) + truncl(x);]])], 43 [[x = funcptr(x) + truncl(x);]])], 61 x = truncl (0.0L); 99 /* Test whether truncl (-0.3L) is -0.0L. */ [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/doc/posix-functions/ |
H A D | truncl.texi | 1 @node truncl 2 @section @code{truncl} 3 @findex truncl 5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/truncl.html} 7 Gnulib module: truncl or truncl-ieee 9 Portability problems fixed by either Gnulib module @code{truncl} or @code{truncl-ieee}: 22 Portability problems fixed by Gnulib module @code{truncl-ieee}:
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/ |
H A D | builtins-26.c | 21 extern long double truncl(long double); 75 if (truncl (truncl (x)) != truncl (x)) in testl() 77 if (truncl (floorl (x)) != floorl (x)) in testl() 79 if (truncl (ceill (x)) != ceill (x)) in testl() 82 if (floorl (truncl (x)) != truncl (x)) in testl() 89 if (ceill (truncl (x)) != truncl (x)) in testl()
|