John Meacham <[EMAIL PROTECTED]> wrote: > On Thu, Jan 10, 2008 at 11:17:18AM +0200, Yitzchak Gale wrote: > > The special case of 1/0 is less clear, though. One might > > decide that it should be an error rather than NaN, as some > > languages have. > > It is neither, > > 1/0 = Infinity > -1/0 = -Infinity > Just out of curiosity:
1/-0 = -Infinity? -1/-0 = Infinity? If you don't have two separate values for nothing, one approaching from negativeness and one from positiveness, defining the result to be infinite instead of NaN makes no sense IMHO. -- (c) this sig last receiving data processing entity. Inspect headers for past copyright information. All rights reserved. Unauthorised copying, hiring, renting, public performance and/or broadcasting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe