Skip to content
Commit 8e7d4b4e authored by Pierre Blanchard's avatar Pierre Blanchard
Browse files

Fix coshf and sinhf early overflow

Change test to reveal early overflow in sinhf/coshf,
and fix it.

A better approach would delay the overflow in expk2f
rather than using a different formula, but would it
preserve accuracy?

Decide whether to inline special case
depending on performance.
Could increase register pressure but should also
be able to re-use expk2f coefficients.

Current approach shows performance improvement
despite additional logic.
parent c4e78498
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment