What uses do floating point NaN payloads have?

后端 未结 3 1658
一向
一向 2020-12-06 10:36

I know that IEEE 754 defines NaNs to have the following bitwise representation:

  • The sign bit can be either 0 or 1
  • The expone
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-06 11:00

    https://softwareengineering.stackexchange.com/questions/185406/what-is-the-purpose-of-nan-boxing

    Take a look at that link for an explanation of how js engines use nan boxing

提交回复
热议问题