In time, ignore my previous reply to this thread as SQLite portability requirements make it invalid (at least I think they would). According to the C language standard, signed overflow is undefined behavior and, therefore, should not be relied upon.

There is also a simpler way to check it using a division of the maximum possible value by the multiplier (which will never overflow).

--
Bernardo Sulzbach
http://www.mafagafogigante.org/
mafagafogiga...@mafagafogigante.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to