Commit 5fd2fb5
[LangRef] Fix examples for float to int saturating intrinsics (llvm#115629)
As per the [LangRef:Simple
Constants](https://llvm.org/docs/LangRef.html#simple-constants), exact
decimal values of floating-point constants are required. For instance,
23.9 is a repeating decimal in binary and results in the reported error.
https://godbolt.org/z/1h7ETPnf6
Fixes llvm#113529.1 parent 3ffe48c commit 5fd2fb5
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20392 | 20392 | | |
20393 | 20393 | | |
20394 | 20394 | | |
20395 | | - | |
20396 | | - | |
| 20395 | + | |
| 20396 | + | |
20397 | 20397 | | |
20398 | 20398 | | |
20399 | 20399 | | |
| |||
20445 | 20445 | | |
20446 | 20446 | | |
20447 | 20447 | | |
20448 | | - | |
20449 | | - | |
| 20448 | + | |
| 20449 | + | |
20450 | 20450 | | |
20451 | 20451 | | |
20452 | 20452 | | |
| |||
0 commit comments