On Sunday, 11 September 2016 14:25:29 UTC+1, Ian Lance Taylor wrote:
>
> On Sun, Sep 11, 2016 at 6:06 AM,  <[email protected] <javascript:>> 
> 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 
>

Sorry my terminology error.

I meant exported variable, not constant.

-- 
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