Commit 136e5e2
authored
[LangRef] make consequences of NaN rules for pow(i) more explicit (llvm#170177)
The NaN section says
> Floating-point math operations are allowed to treat all NaNs as if
they were quiet NaNs. For example, “pow(1.0, SNaN)” may be simplified to
1.0.
This seems worth also spelling out in the section for `pow` (and `powi`
which has a similar situation), to have everything concerning those
operations in a single place.1 parent 1d0d7da commit 136e5e2
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16289 | 16289 | | |
16290 | 16290 | | |
16291 | 16291 | | |
| 16292 | + | |
| 16293 | + | |
| 16294 | + | |
| 16295 | + | |
| 16296 | + | |
| 16297 | + | |
| 16298 | + | |
16292 | 16299 | | |
16293 | 16300 | | |
16294 | 16301 | | |
| |||
16851 | 16858 | | |
16852 | 16859 | | |
16853 | 16860 | | |
| 16861 | + | |
| 16862 | + | |
| 16863 | + | |
| 16864 | + | |
| 16865 | + | |
| 16866 | + | |
| 16867 | + | |
16854 | 16868 | | |
16855 | 16869 | | |
16856 | 16870 | | |
| |||
0 commit comments