Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
floats: add functions for handling NaN payloads
This handles the simple case of ignoring sign and only dealing with quiet NaN values since signalling NaN would require that we check that at least one of the low bits was set and fail somehow if not. Note that Go treats all NaNs as silent.
- Loading branch information
Showing
2 changed files
with
86 additions
and
0 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