diff options
Diffstat (limited to 'libc/src/math/nvptx/fmin.cpp')
-rw-r--r-- | libc/src/math/nvptx/fmin.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/src/math/nvptx/fmin.cpp b/libc/src/math/nvptx/fmin.cpp index 8977ff7..0d6f352 100644 --- a/libc/src/math/nvptx/fmin.cpp +++ b/libc/src/math/nvptx/fmin.cpp @@ -8,17 +8,11 @@ #include "src/math/fmin.h" -#include "src/__support/CPP/bit.h" #include "src/__support/common.h" -#include "src/__support/macros/optimization.h" namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(double, fmin, (double x, double y)) { - // FIXME: The builtin function does not correctly handle the +/-0.0 case. - if (LIBC_UNLIKELY(x == y)) - return cpp::bit_cast<double>(cpp::bit_cast<uint64_t>(x) | - cpp::bit_cast<uint64_t>(y)); return __builtin_fmin(x, y); } |