• SpaceNoodle@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    Because NaN is purposefully not allowed to be mathematically equal to anything, but a reference to an object evaluated as such can be equivalent to itself.