Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created February 8, 2017 15:26
Show Gist options
  • Save zoffixznet/a8f68ae75ecc5f0c47c03813b50248c7 to your computer and use it in GitHub Desktop.
Save zoffixznet/a8f68ae75ecc5f0c47c03813b50248c7 to your computer and use it in GitHub Desktop.
When either an input or result is NaN, this standard does not interpret the sign of a NaN. Note, however,
that operations on bit strings — copy, negate, abs, copySign — specify the sign bit of a NaN result,
sometimes based upon the sign bit of a NaN operand. The logical predicate totalOrder is also affected by
the sign bit of a NaN operand. For all other operations, this standard does not specify the sign bit of a NaN
result, even when there is only one input NaN, or when the NaN is produced from an invalid operation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment