Commit 884c5e3
bump slop for twiceprecision division (#59140)
division (unlike the other intrinsics) can have table-maker dilema
problems since the true result has infinite bits. Bumping the slop for
it by 1 reduces failures from 80 in 10^10 to <1 in 10^11.
I think accepting an extra bit of inaccuracy is reasonable here (the
alternative would be to make the division do an extra loop and do some
extra extended precision, which seems unlikely to be worth it.
fixes #23497
Co-authored-by: oscarddssmith <oscar.smith@juliacomputing.com>1 parent 0d4cdfc commit 884c5e3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments