[all-commits] [llvm/llvm-project] 57fcc2: [libc] Fix improper initialization of `StorageType...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Dec 15 06:51:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57fcc238968cff9944509b7a5dcf47286ad374e5
      https://github.com/llvm/llvm-project/commit/57fcc238968cff9944509b7a5dcf47286ad374e5
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M libc/test/UnitTest/FPMatcher.h
    M libc/test/src/math/CeilTest.h
    M libc/test/src/math/CopySignTest.h
    M libc/test/src/math/FAbsTest.h
    M libc/test/src/math/FDimTest.h
    M libc/test/src/math/FMaxTest.h
    M libc/test/src/math/FMinTest.h
    M libc/test/src/math/FloorTest.h
    M libc/test/src/math/FrexpTest.h
    M libc/test/src/math/LogbTest.h
    M libc/test/src/math/ModfTest.h
    M libc/test/src/math/RoundTest.h
    M libc/test/src/math/SqrtTest.h
    M libc/test/src/math/TruncTest.h
    M libc/test/src/math/cos_test.cpp
    M libc/test/src/math/sin_test.cpp
    M libc/test/src/math/smoke/CopySignTest.h
    M libc/test/src/math/smoke/FDimTest.h
    M libc/test/src/math/smoke/FMaxTest.h
    M libc/test/src/math/smoke/FMinTest.h
    M libc/test/src/math/smoke/LogbTest.h
    M libc/test/src/math/smoke/ModfTest.h
    M libc/test/src/math/tan_test.cpp

  Log Message:
  -----------
  [libc] Fix improper initialization of `StorageType` (#75610)

`StorageType` may be a `BigInt` under the hood. Initializing it with
`-1` does not yields the maximum value.




More information about the All-commits mailing list