forked from hypergeometric/notepack
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(encode): fix encoding for non-finite numbers (#4)
New format (instead of throwing an error): NaN: <Buffer cb 7f f8 00 00 00 00 00 00> Infinity: <Buffer cb 7f f0 00 00 00 00 00 00> -Infinity: <Buffer cb ff f0 00 00 00 00 00 00>
- Loading branch information
1 parent
c6e8c35
commit f0ed0f3
Showing
3 changed files
with
7 additions
and
12 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