[Mlir-commits] [mlir] [mlir][Parser] Add `nan` and `inf` keywords (PR #116176)
Matthias Springer
llvmlistbot at llvm.org
Wed Nov 20 00:45:58 PST 2024
matthias-springer wrote:
Do you know why `APFloat::getInf`/`APFloat::getNaN` exist? Given that there is no unique NaN/inf for certain types.
Edit: I just saw that NaN can carry a payload. Which I guess means that these return a well-specified value. Supporting payloads the syntax would probably go to far...
https://github.com/llvm/llvm-project/pull/116176
More information about the Mlir-commits
mailing list