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/stdio | |
parent | 5f5a64134b679d0b97d8fbd4ea65da361bb22cae (diff) | |
download | llvm-2137894a6f5475e51c541b6d16e8902125a8f002.zip llvm-2137894a6f5475e51c541b6d16e8902125a8f002.tar.gz llvm-2137894a6f5475e51c541b6d16e8902125a8f002.tar.bz2 |
[libc][NFC] Move `Sign` type to separate header (#85930)
Diffstat (limited to 'libc/src/stdio')
-rw-r--r-- | libc/src/stdio/printf_core/float_dec_converter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdio/printf_core/float_dec_converter.h b/libc/src/stdio/printf_core/float_dec_converter.h index 5270fc9..c4e8aaa 100644 --- a/libc/src/stdio/printf_core/float_dec_converter.h +++ b/libc/src/stdio/printf_core/float_dec_converter.h @@ -48,7 +48,7 @@ constexpr uint32_t MAX_BLOCK = 999999999; constexpr char DECIMAL_POINT = '.'; LIBC_INLINE RoundDirection get_round_direction(int last_digit, bool truncated, - fputil::Sign sign) { + Sign sign) { switch (fputil::quick_get_round()) { case FE_TONEAREST: // Round to nearest, if it's exactly halfway then round to even. |