I hope you understand that NaN is "not a number". By interpreting 0 as not a number, you put yourself in the position of ancient and early Medieval people who did not have zero or did not consider it as a number. Welcome back to the barbaric world!

(However, this roughly matches the level of understanding of mathematics and arithmetic by the U.S. Internal Revenue Service, people who collect taxes.

If you are one of them, your will probably need a century or two, to get to the world of mathematics a bit closer to the time of European Renaissance. :-))

Perhaps you need some understanding:

NaN — Wikipedia, the free encyclopedia[^],

Floating point — Wikipedia, the free encyclopedia[^],

IEEE floating point — Wikipedia, the free encyclopedia[^].

—SA