-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make abs, abs_imag, inv, and / resistant to under/overflow (#122)
* Use hypot in abs and abs_imag * Use approximate check * Add tests against abs/exp under/overflow * Increment patch number * Ensure tests pass on 1.0 * Backport _hypot code for older Julia versions * Mark test as non broken * Implement abs without hypot * Implement abs_imag efficiently * Handle over/underflow for inv and div * Make inv implementation more like Complex's * Test abs_imag for all Julia versions * Add tests for inv under/overflow * Test more abs/abs_imag cases * Simplify tests with isequal * Use isequal * Add isequal * Add under/overflow tests for div * Add missing abs_imag tests * Apply suggestions from code review Co-authored-by: Yuto Horikawa <[email protected]> * Update test/Quaternion.jl Co-authored-by: Yuto Horikawa <[email protected]> * Update test/Quaternion.jl Co-authored-by: Yuto Horikawa <[email protected]> * Increment patch number Co-authored-by: Yuto Horikawa <[email protected]>
- Loading branch information
Showing
3 changed files
with
128 additions
and
6 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
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
dc7f5a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
dc7f5a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/75386
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: