forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster sinh and cosh for Float32, Float64 (JuliaLang#37426)
* Faster sinh and cosh for Float32, Float64 Use minimax polynomials to reduce the number of cases needed. * Fix COSH_SMALL_X * I should probably give the functions the correct names. * Make Float32 path for sinh use Float64 for polynomial faster, better accuracy, and doesn't need FMA! * fix doctest? * Add a tiny bit of bonus accuracy for Float64 to re-trigger build * turns out decimal places matter
- Loading branch information
1 parent
78ade6c
commit 300e34c
Showing
2 changed files
with
79 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters