diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2024-03-20 15:10:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 15:10:19 +0100 |
| commit | 2137894a6f5475e51c541b6d16e8902125a8f002 (patch) | |
| tree | db877075f6d08f37bb5b95d1a309722110e54a39 /libc/src/math/generic/atanhf.cpp | |
| parent | 5f5a64134b679d0b97d8fbd4ea65da361bb22cae (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.cpp | 2 |
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(); |
