Re: Another point in favor of Euphoria!

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 7 Oct 2002, at 10:39, Robert Craig wrote:

> 
> Andy Serpa writes (re: 1e300 * 1e300):
> > Crashes quite reliably with my Borland, not sure what version it is.  
> > Not just with a console error message either, but with pop-up "illegal 
> > something or other" windows, etc...
> 
> OK, I figured it out.
> The Intel CPU can handle floating-point errors
> in two different ways. Watcom and Lcc have it set to use
> INF and NAN, while Borland has it set to generate an exception.

If i remember right, this switch goes back in history to the 8087. There was a 
big fight, especially from astronomers and physicists, who wanted to trap the 
hardware error on big numbers and run altenative math macros (such as 
string math) on them, whereas everyone else said why bother. Ditto for "INF 
+1 = INF -1" and other things i can't figure out.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu