Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix displaying negative numbers in emacs
It tests for whether a number is NaN by testing whether !(x * 0 >= 0), and this was passing for all negative numbers because -0 was considered less than and equal to 0. Also fix some UBsan things Fixed #749
- Loading branch information
Showing
3 changed files
with
29 additions
and
18 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