On Sun, Sep 11, 2016 at 6:06 AM,  <[email protected]> wrote:
>
> Also curious as why the implementation is as math.NaN() rather than just
> math.NaN (function/method not constant). It doesn't seem to help with a
> potential interfaces.

Go constants are untyped, more or less unlimited, and do not support
NaN or infinity or negative zero.  There would be no simple way to
make math.NaN a constant.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to