[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Floating point inaccuracies
- From: Patrick Rapin <toupie300@...>
- Date: Sun, 28 Nov 2010 22:43:18 +0100
Edit: Sorry, it is late, I'm a bit tired...
Lua uses 14 digits and not 16, which is the maximum a double could hold.
#define LUA_NUMBER_FMT "%.14g"