use decimal

Mark S. Miller erights at google.com
Thu Sep 18 08:38:07 PDT 2008


On Thu, Sep 18, 2008 at 7:54 AM, Sam Ruby <rubys at intertwingly.net> wrote:

> 2008/9/17 Mark S. Miller <erights at google.com>:
> >>
> >> If that is the case then 1.5m / 10.0 != 1.5 / 10.0, and thus it seems
> >> wrong for 1.5m and 1.5 to be '==='.
> >
> > 0/-0 != 0/0. Does it thus seem wrong that -0 === 0?
>
> Just so that I'm clear what you point is, It is worth noting that 42/0
> != 42/0, yet hopefully we all agree that 42 === 42.
>
> Perhaps the example that you were looking for 1/0 != 1/-0 ?
>

Yes, thanks.


>
> > Well, yes, actually it does seem wrong to me, but we all accept that
> > particular wrongness. This is just more of the same.
>
> "just" is a powerful word.  Use sparingly.
>
> - Sam Ruby
>



-- 
   Cheers,
   --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080918/6c18057b/attachment.html 


More information about the Es-discuss mailing list