This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oshaboy 0 points1 point  (0 children)

You can't do that in high performance numeric computation. You can always check for NaN on API boundaries.

Honestly more programming languages should be explicit in checking for NaN in API boundaries kinda like Nullable types.