Divide by zero?
sbellon at sbellon.de
Mon Jan 3 03:33:23 PST 2005
John Tytgat wrote:
> In message <4d2722b378sbellon at sbellon.de>
> Stefan Bellon <sbellon at sbellon.de> wrote:
> > Correct (with SharedCLibrary) is a = 1 but with UnixLib it says a =
> > 0. So it looks like the division is fundamentally flawed?
> Maybe a little bit too strong. _ll_sdiv and _ll_udiv are fine but
> _ll_srdv and _ll_urdiv not. The 2 last onces are not the modulo
> versions but reverse divisions, i.e. instead of a / b, they do b / a.
> I test a little bit further on before commiting.
This sounds like you found the problem? That sounds good. Cannot wait
to see whether this fixes all problems in SQLite3.
More information about the gcc