On Tue, Mar 29, 2011 at 8:17 PM, Ralf Junker <ralfjun...@gmx.de> wrote:

> On 29.03.2011 15:17, Max Vlasov wrote:
>
> > Thanks, this forced me to search more on the topic. I use Delphi and it
> > appears that all Borland compilers has their own floating-point exception
> > handling chain and it is on by default so if any division by zero or
> > overflow appears inside sqlite3_step Delphi will handle this with its own
> > exception handling.
>
> When running SQLite from Delphi, you must disable FPU exceptions. Below
> is a simple console project which uses the DISQLite3 Delphi port of
> SQLite to demonstrate how this works.
>
> Ralf
>
> ---
>
>   Set8087CW($133F);
>
>

Ralf, thanks, it worked, currently I wrapped my calls to sqlite3_step into
change-restore logic, now I see Inf in my results.

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

Reply via email to