julia
Fix a bunch more float16 and fma_emulated edge cases
#63525
Merged

Fix a bunch more float16 and fma_emulated edge cases #63525

oscardssmith
oscardssmith math: Fix `fma_emulated` rounding near underflow and overflow
3460fe72
oscardssmith runtime: Round the product separately in 16-bit `muladd_float`
b58335cd
oscardssmith codegen: Avoid double rounding in BFloat16 `fma_float` and int conver…
2ad5c812
oscardssmith oscardssmith requested a review from StefanKarpinski StefanKarpinski 24 days ago
oscardssmith oscardssmith requested a review from topolarity topolarity 24 days ago
oscardssmith oscardssmith added maths
oscardssmith oscardssmith added bugfix
oscardssmith oscardssmith added backport 1.13
oscardssmith oscardssmith added don't squash
oscardssmith float: Throw `InexactError` when truncating `-Inf16` to wide integers
f41d8a43
oscardssmith Printf: Fix `%a` with a precision of 4 or more for Float16
b70ce77f
oscardssmith Printf: Put zero padding after the sign of `-0.0`
381028c6
oscardssmith math: Fix `NaN^n` for large `n` and the sign of `(-0.0)^n`
493e70bb
oscardssmith gmp: Don't overflow in `Float64(::BigInt, RoundToZero)`
af22f396
oscardssmith oscardssmith force pushed from 704acd4c to ba0dd6f1 24 days ago
topolarity
topolarity commented on 2026-10-02
vtjnash
vtjnash commented on 2026-10-02
vtjnash
vtjnash commented on 2026-10-02
oscardssmith math: Return subnormal `sech` and `csch` once `cosh` and `sinh` overflow
ef2721d1
oscardssmith math: Compute Float16 degree-based trig functions in Float32
9186d7d7
oscardssmith ranges: Scale rationals exactly when constructing float ranges
07b4c010
oscardssmith mpfr: Keep `precision` and `rounding` when parsing a BigFloat with tr…
aa8ce9ea
oscardssmith oscardssmith force pushed from ba0dd6f1 to aa8ce9ea 19 days ago
vtjnash
vtjnash approved these changes on 2026-10-06
topolarity
topolarity approved these changes on 2026-10-06
oscardssmith oscardssmith merged daca5c40 into master 19 days ago
oscardssmith oscardssmith deleted the os/float-edge-cases branch 19 days ago
KristofferC KristofferC removed backport 1.13

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone