[libc] [llvm] [libc][math][c23] Add {,u}fromfp{,x}{,f,l,f128} functions (PR #86003)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 13:18:25 PDT 2024


================
@@ -141,7 +141,7 @@ LIBC_INLINE T round(T x) {
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
-LIBC_INLINE T round_using_current_rounding_mode(T x) {
+LIBC_INLINE constexpr T round_using_specific_rounding_mode(T x, int rnd) {
----------------
overmighty wrote:

CLion Nova warns about the `typename` keyword before `cpp::enable_if_t` being redundant.

https://github.com/llvm/llvm-project/pull/86003


More information about the llvm-commits mailing list