[Diffusion] rGb53d44fe4741: [EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 09:10:54 PDT 2022
hubert.reinterpretcast added a comment.
In rGb53d44fe47413c87f619baf9e057f2a2e49d3998#1114269 <https://reviews.llvm.org/rGb53d44fe47413c87f619baf9e057f2a2e49d3998#1114269>, @mohammed-nurulhoque wrote:
>> POSIX does not require IEEE-754 conformance.
>
> POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/functions/atan.html) also requires atan(-0.0) to be -0.0
That is not true: please pay attention to the meaning of the MX margin code: https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#MX.
BRANCHES
main
Users:
mohammed-nurulhoque (Author)
spatel (Committer)
https://reviews.llvm.org/rGb53d44fe4741
More information about the llvm-commits
mailing list