-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/18/2011 07:03 PM, Nico Williams wrote:
> BUT, because SIGFPE is a synchronous
> signal so you are on much firmer ground: you can't block it,

Incidentally you can block it sometimes but the mechanism is very operating
system specific.  For example some support ieee_set_fp_control to set what
happens.  Here is the source for a (deprecated) Python module that shows
various OS specific calls:

  http://svn.python.org/view/python/trunk/Modules/fpectlmodule.c?view=markup

Using builtins I see NULL or errors being returned:

  sqlite> .mode insert
  sqlite> select 1/0.0;
  INSERT INTO table VALUES(NULL);
  sqlite> select abs(-9223372036854775808);
  Error: integer overflow

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1fObEACgkQmOOfHg372QQWQACeLhEVJeUMWt2PnZ2yZs7W16v5
tPsAn1VU4DO/opUtw0IalkADQTW4rYCn
=jrAv
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to