On Tue, Jan 4, 2011 at 6:56 PM, Jean-Christophe Deschamps <[email protected]>wrote:

> ... and so many settings in IEE hardware/software.  I really look
> forward Intel decimal FP being mainstream, specially in business-likely
> code like a DB engine.  But until such baby finds its way in hardware,
> I guess we're stuck with this pesky binary thing and slow / imprecise
> conversions back and forth and 1/3 + 1/3 + 1/3 != 1.
>
> Use floating point for the purpose for which it was created: scientific
calculations.  If you need to know your bank balance to 17 significant
figures, use integers.  Store the values as cents instead of dollar and do
the conversion in your application.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to