On Tue, Jan 4, 2011 at 6:56 PM, Jean-Christophe Deschamps <j...@q-e-d.org>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
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to