[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 08:07:58 PDT 2022


hubert.reinterpretcast added a comment.

In rGb53d44fe47413c87f619baf9e057f2a2e49d3998#1114244 <https://reviews.llvm.org/rGb53d44fe47413c87f619baf9e057f2a2e49d3998#1114244>, @mohammed-nurulhoque wrote:

> I'm not familiar with PPC64/AIX, but the output it's producing is in conflict with the POSIX spec. https://pubs.opengroup.org/onlinepubs/9699919799/functions/atan.html It says `If x is ±0, x shall be returned.`

Thanks; to make the conversation easier to follow here, can you write the call (with the values) here?


BRANCHES
  main

Users:
  mohammed-nurulhoque (Author)
  spatel (Committer)

https://reviews.llvm.org/rGb53d44fe4741



More information about the llvm-commits mailing list