-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace u64->double bitcast with 0.0/0.0. Change definition of JS_FLOAT64_NAN in the same way because that lets us drop <math.h> from quickjs.h. Replace INFINITY and -INFINITY with 1.0/0.0 and -1.0/0.0 respectively because we already defined globalThis.INFINITY that way and so we might as well go all the way.
- Loading branch information
1 parent
f93dd58
commit 60c6eed
Showing
3 changed files
with
12 additions
and
16 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