-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add custom (de)serialization methods for special float value (#1โฆ
โฆ6258) * fix: add custom (de)serialization for infinite float values * fix: fix serialize and deserialize error for infinity float case * test: add more tests for inf and nan * fix * fix: add borsh f32 and f64 replaced method for nan * chore: patch borsh-rs to bypass NaN check * make taplo happy * refactor: put ordered float file in base * fix: override ordered_float's json and borsh (de)serde methods to allow use NaN and inf * taplo fmt * test: add more test
- Loading branch information
Showing
37 changed files
with
2,324 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.