• vrighter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    9 months ago

    i think the real explanation is simpler and more understandable.

    NaN is what you get when you do something illegal like dividing by zero. There is no answer, but the operation has to result in something. So it gives you NaN, because the result is literally not a number