aboutsummaryrefslogtreecommitdiff
path: root/libc/src/math/nvptx/fmaxf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/nvptx/fmaxf.cpp')
-rw-r--r--libc/src/math/nvptx/fmaxf.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/src/math/nvptx/fmaxf.cpp b/libc/src/math/nvptx/fmaxf.cpp
index f6ed466..e977082 100644
--- a/libc/src/math/nvptx/fmaxf.cpp
+++ b/libc/src/math/nvptx/fmaxf.cpp
@@ -15,10 +15,6 @@
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(float, fmaxf, (float x, float y)) {
- // FIXME: The builtin function does not correctly handle the +/-0.0 case.
- if (LIBC_UNLIKELY(x == y))
- return cpp::bit_cast<float>(cpp::bit_cast<uint32_t>(x) &
- cpp::bit_cast<uint32_t>(y));
return __builtin_fmaxf(x, y);
}