[all-commits] [llvm/llvm-project] c09e69: [libc][NFC] Remove `FloatProperties` (#76508)

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Jan 3 00:52:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c09e6905567a6b546bb2fd9e863511a8fb939b19
      https://github.com/llvm/llvm-project/commit/c09e6905567a6b546bb2fd9e863511a8fb939b19
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-01-03 (Wed, 03 Jan 2024)

  Changed paths:
    M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
    M libc/src/__support/float_to_string.h
    M libc/src/__support/str_to_float.h
    M libc/src/math/generic/exp.cpp
    M libc/src/math/generic/exp10.cpp
    M libc/src/math/generic/exp2.cpp
    M libc/src/math/generic/exp2f_impl.h
    M libc/src/math/generic/explogxf.h
    M libc/src/math/generic/expm1.cpp
    M libc/src/math/generic/powf.cpp
    M libc/src/math/generic/range_reduction.h
    M libc/src/math/generic/tanhf.cpp
    M libc/src/stdio/printf_core/float_dec_converter.h
    M libc/test/src/__support/str_to_fp_test.h
    M libc/test/src/math/FrexpTest.h
    M libc/test/src/math/LogbTest.h
    M libc/test/src/math/SqrtTest.h
    M libc/test/src/math/smoke/FrexpTest.h
    M libc/test/src/math/smoke/LogbTest.h
    M libc/test/src/math/smoke/SqrtTest.h
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][NFC] Remove `FloatProperties` (#76508)

Access is now done through `FPBits` exclusively.
This patch also renames a few internal structs and uses `T` instead of
`FP` as a template parameter.




More information about the All-commits mailing list