On Fri, Feb 18, 2011 at 9:32 PM, Roger Binns <rog...@rogerbinns.com> wrote:
> 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

Oh, good to know!

> 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

This is good to know also.

Thanks,

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

Reply via email to