summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/atanhf.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2024-03-20 15:10:19 +0100
committerGitHub <noreply@github.com>2024-03-20 15:10:19 +0100
commit2137894a6f5475e51c541b6d16e8902125a8f002 (patch)
treedb877075f6d08f37bb5b95d1a309722110e54a39 /libc/src/math/generic/atanhf.cpp
parent5f5a64134b679d0b97d8fbd4ea65da361bb22cae (diff)
[libc][NFC] Move `Sign` type to separate header (#85930)
Diffstat (limited to 'libc/src/math/generic/atanhf.cpp')
-rw-r--r--libc/src/math/generic/atanhf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/math/generic/atanhf.cpp b/libc/src/math/generic/atanhf.cpp
index fe2c36494a72..97fd1b233600 100644
--- a/libc/src/math/generic/atanhf.cpp
+++ b/libc/src/math/generic/atanhf.cpp
@@ -15,7 +15,7 @@ namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(float, atanhf, (float x)) {
using FPBits = typename fputil::FPBits<float>;
- using Sign = fputil::Sign;
+
FPBits xbits(x);
Sign sign = xbits.sign();
uint32_t x_abs = xbits.abs().uintval();