[all-commits] [llvm/llvm-project] bb3419: [libc] Fix Atan2f128 and add tests for all version...

Zorojuro via All-commits all-commits at lists.llvm.org
Sat Aug 8 15:20:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb3419bc0de6f04753984330e27b47b894b081e4
      https://github.com/llvm/llvm-project/commit/bb3419bc0de6f04753984330e27b47b894b081e4
  Author: Zorojuro <sawantsukumar at gmail.com>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M libc/src/__support/math/atan2f128.h
    M libc/test/src/math/smoke/atan2_test.cpp
    M libc/test/src/math/smoke/atan2f128_test.cpp
    M libc/test/src/math/smoke/atan2f16_test.cpp
    M libc/test/src/math/smoke/atan2f_test.cpp

  Log Message:
  -----------
  [libc] Fix Atan2f128 and add tests for all versions (#215023)

It fixes the THREE_PI_OVER_4 value in atan2f128 and adds a small smoke
test against the failure.
The result or comparison value is directly taken from the failure while
comparing with core math :
```CPP
FAIL x=inf y=-inf ref=0x1.2d97c7f3321d234f272993d1414ap+1 z=0x1.2d97c7f3321d234f272993d1414ap-1
```

Additionally it adds some more smoke tests for all atan2 versions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list