Hi Folks, A peanut gallery look at NaN which is really a bit encoding for various kinds of floating point number errors like underflow, overflow, divided by 0, etc. In my Fortran past life we used XMISS as a special valu
> On Aug 1, 2017, at 3:21 PM, Greg Dove <greg.d...@gmail.com> wrote: > > Yes it does. NaN is an 'instance' of the Number type (even though it is > 'Not a Number' ;) ) > > > On Wed, Aug 2, 2017 at 10:18 AM, Harbs <harbs.li...@gmail.com> wrote: > >> Interesting. >> >> I’m not sure that I realized that NaN passes that test. Does it? >> >>> On Aug 2, 2017, at 1:12 AM, Greg Dove <greg.d...@gmail.com> wrote: >>> >>> I agree undefined works the same as NaN for many things for example, but >> it >>> fails on very basic things like if (x is Number) >> >>
signature.asc
Description: Message signed with OpenPGP