On Mon, Jun 6, 2011 at 1:46 PM, Nico Williams <n...@cryptonector.com> wrote:
> I can see two ways to add proper IEEE754 support in a
> backwards-compatible way: a) via a pragma to enable raising exceptions
> or returning +-inf/NaNs, b) by adding a callback via which to report
> such exceptions, with exceptions raised only if the callback is set.
> I would prefer (a), though it'd mean re-compiling statements when the
> pragma is toggled.

You could also add a new type.  Call it ... IEEE754{FLOAT,DOUBLE}.  Or
NATIVE{FLOAT,DOUBLE}, and let the user deal with hardware changes.

-scott
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to