aboutsummaryrefslogtreecommitdiff
path: root/libc/src/math/amdgpu/fmax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/amdgpu/fmax.cpp')
-rw-r--r--libc/src/math/amdgpu/fmax.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/src/math/amdgpu/fmax.cpp b/libc/src/math/amdgpu/fmax.cpp
index 09624cc..09f0f94 100644
--- a/libc/src/math/amdgpu/fmax.cpp
+++ b/libc/src/math/amdgpu/fmax.cpp
@@ -15,10 +15,6 @@
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(double, fmax, (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_fmax(x, y);
}