[all-commits] [llvm/llvm-project] d02471: [libc][NFC] Simplify `FPBits` (#76835)
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Thu Jan 4 07:14:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d02471ede56e727d7d16f61bcdecc4f99a2bda02
https://github.com/llvm/llvm-project/commit/d02471ede56e727d7d16f61bcdecc4f99a2bda02
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/fpbits_str.h
M libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
M libc/src/math/generic/log.cpp
M libc/src/math/generic/log10.cpp
M libc/src/math/generic/log10f.cpp
M libc/src/math/generic/log2.cpp
M libc/src/math/generic/log2f.cpp
M libc/src/math/generic/logf.cpp
M libc/test/src/stdlib/strtold_test.cpp
M libc/test/src/time/difftime_test.cpp
Log Message:
-----------
[libc][NFC] Simplify `FPBits` (#76835)
This patch reduces the scope of `FPBits` exported variables and
functions.
It also moves storage up into `FPRep` and tries to make the default and
specialized versions of `FPBits` more uniform.
The next step is to move the specialization from `FPBits` to `FPRep` so
we can manipulate floating point representations through `FPType`
alone - that is - independently from the host architecture.
More information about the All-commits
mailing list