lkml.org 
[lkml]   [1997]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.0.30
Date
From

Mirrashar Lenashri <palin@lance.ij.net> wrote:
>>An obvious one:
>>
>>2 / 1 / 0 == 2 / 0 / 30
> ^^^^^ ^^^
>Actually, anything divided by zero is undefined; you can't divide anything
>zero ways. So, in essence, 2/1/0 does not equal 2/0/30, as undefined is..
>err, wait, I guess they are equal. Never mind.

Actually, under IEEE 754 semantics, both are equal to NaN, but NaN is never
equal to anything, including itself, so IEEE says they are not equal. :-)

- Maciej Stachowiak

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:1.444 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site