[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Of course -ffast-math fights against NaNs
- From: Miles Bader <miles@...>
- Date: Wed, 08 Apr 2009 15:13:43 +0900
Asko Kauppi <askok@dnainternet.net> writes:
> The interesting part is, how are people actually using -ffast-math with
> connection to Lua. And can a Lua that has been stripped of proper nan
> and inf functionality still even be called Lua?
I don't see why not; Lua doesn't seem to make many guarantees about the
behavior of numbers. Lua is very often used in fairly specific
contexts, and it's quite reasonable for an app writer to decide that
their app does not need full IEEE floating-point functionality.
-Miles
--
Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven
lies about us.' The world begins lying about us pretty soon afterward.