[Haskell-cafe] 1/0

David Roundy daveroundy at gmail.com
Mon Jun 16 19:21:24 EDT 2008

On Mon, Jun 16, 2008 at 4:18 PM, David Roundy <daveroundy at gmail.com> wrote:
> On Mon, Jun 16, 2008 at 4:07 PM, Evan Laforge <qdunkan at gmail.com> wrote:
>> Every other language throws an exception, even C will crash the
>> program, so I'm guessing it's telling the processor / OS to turn these
>> into signals, while GHC is turning that off.  Or something.  But then
>> what about this note in Control.Exception:
> That's just not true.  It depends on how your system (compiler?) is
> configured, but the default on most systems that I've used is to
> return NaNs.

Sorry, I just read my post, and realized I quoted too much.  I was
responding to the first sentence about other languages, thinking of
octave, C and C++.


More information about the Haskell-Cafe mailing list