Home
last modified time | relevance | path

Searched refs:fesetround (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/libc/test/src/fenv/
Drounding_mode_test.cpp17 int s = __llvm_libc::fesetround(FE_TONEAREST); in TEST()
22 s = __llvm_libc::fesetround(FE_UPWARD); in TEST()
27 s = __llvm_libc::fesetround(FE_DOWNWARD); in TEST()
32 s = __llvm_libc::fesetround(FE_TOWARDZERO); in TEST()
DCMakeLists.txt11 libc.src.fenv.fesetround
/external/llvm-project/compiler-rt/test/builtins/Unit/
Dsubtf3_test.c66 fesetround(FE_UPWARD); in main()
72 fesetround(FE_DOWNWARD); in main()
78 fesetround(FE_TOWARDZERO); in main()
84 fesetround(FE_TONEAREST); in main()
Daddtf3_test.c73 fesetround(FE_UPWARD); in main()
79 fesetround(FE_DOWNWARD); in main()
86 fesetround(FE_TOWARDZERO); in main()
92 fesetround(FE_TONEAREST); in main()
/external/llvm-project/flang/lib/Evaluate/
Dhost.cpp90 fesetround(FE_TONEAREST); in SetUpHostFloatingPointEnvironment()
93 fesetround(FE_TOWARDZERO); in SetUpHostFloatingPointEnvironment()
96 fesetround(FE_UPWARD); in SetUpHostFloatingPointEnvironment()
99 fesetround(FE_DOWNWARD); in SetUpHostFloatingPointEnvironment()
102 fesetround(FE_TONEAREST); in SetUpHostFloatingPointEnvironment()
/external/llvm-project/llvm/test/CodeGen/X86/
Dflt-rounds.ll38 ; Make sure we preserve order with fesetround.
46 ; X86-NEXT: calll fesetround
60 ; X86-NEXT: calll fesetround
75 ; X86-NEXT: calll fesetround
87 ; X86-NEXT: calll fesetround
114 ; X64-NEXT: callq fesetround
128 ; X64-NEXT: callq fesetround
141 ; X64-NEXT: callq fesetround
153 ; X64-NEXT: callq fesetround
174 %call = tail call i32 @fesetround(i32 1024)
[all …]
/external/llvm-project/flang/runtime/
Dmain.cpp22 #ifdef fesetround in ConfigureFloatingPoint()
23 fesetround(FE_TONEAREST); in ConfigureFloatingPoint()
25 std::fesetround(FE_TONEAREST); in ConfigureFloatingPoint()
/external/llvm-project/flang/unittests/Evaluate/
Dfp-testing.cpp100 fesetround(FE_TONEAREST); in SetRounding()
103 fesetround(FE_TOWARDZERO); in SetRounding()
106 fesetround(FE_UPWARD); in SetRounding()
109 fesetround(FE_DOWNWARD); in SetRounding()
/external/llvm-project/libc/src/fenv/
DCMakeLists.txt15 fesetround
17 fesetround.cpp
19 fesetround.h
Dfesetround.h14 int fesetround(int);
Dfesetround.cpp14 int LLVM_LIBC_ENTRYPOINT(fesetround)(int m) { return fputil::setRound(m); } in LLVM_LIBC_ENTRYPOINT() argument
/external/rust/crates/libm/src/math/
Dfmaf.rs32 feclearexcept, fegetround, feraiseexcept, fesetround, fetestexcept, FE_INEXACT, FE_TONEAREST,
94 fesetround(FE_TOWARDZERO); in fmaf()
98 fesetround(FE_TONEAREST); in fmaf()
Dfenv.rs31 pub(crate) fn fesetround(_r: i32) -> i32 { in fesetround() function
/external/tensorflow/tensorflow/core/platform/
Dsetround.cc40 std::fesetround(mode);
43 ScopedSetRound::~ScopedSetRound() { std::fesetround(original_mode_); }
/external/llvm-project/llvm/test/CodeGen/SPARC/
DLeonDetectRoundChangePassUT.ll4 declare i32 @fesetround(i32)
8 %call = call i32 @fesetround(i32 2048)
/external/llvm-project/libcxx/include/
Dfenv.h91 #ifdef fesetround
92 #undef fesetround
Dcfenv46 int fesetround(int round);
73 using ::fesetround;
/external/llvm/test/CodeGen/SPARC/
DLeonPreventRoundChangePassUT.ll9 ; NO_ROUND_FUNC-NOT: fesetround
12 ; ROUND_FUNC: fesetround
31 %call = call i32 @fesetround(i32 2048) #2
57 declare i32 @fesetround(i32) #0
/external/libcxx/include/
Dcfenv47 int fesetround(int round);
74 using ::fesetround;
/external/arm-optimized-routines/math/test/
Dulp.h106 fesetround (r); in T()
111 fesetround (FE_TONEAREST); in T()
126 fesetround (r); in T()
136 fesetround (FE_TONEAREST); in T()
/external/llvm-project/libc/AOR_v20.02/math/test/
Dulp.h107 fesetround (r); in T()
112 fesetround (FE_TONEAREST); in T()
127 fesetround (r); in T()
137 fesetround (FE_TONEAREST); in T()
/external/libcxx/test/std/depr/depr.c.headers/
Dfenv_h.pass.cpp71 static_assert((std::is_same<decltype(fesetround(0)), int>::value), ""); in main()
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dfenv_h.pass.cpp70 static_assert((std::is_same<decltype(::fesetround(0)), int>::value), ""); in main()
/external/libcxx/test/std/numerics/cfenv/cfenv.syn/
Dcfenv.pass.cpp73 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); in main()
/external/llvm-project/libcxx/test/std/numerics/cfenv/cfenv.syn/
Dcfenv.pass.cpp72 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); in main()

12