You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3299 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
4503599627370496);;
zsh: floating point exception ocaml
The problem is caused by the fact that ARCH_SIXTYFOUR is not defined in bng.c,
which breaks bng_leading_zero_bits, which in turn breaks bng_generic_div_rem
(among other things) for some divisors.
This can be fixed by adding #include "config.h" to bng.c.
The text was updated successfully, but these errors were encountered:
The problem is caused by the fact that ARCH_SIXTYFOUR is not defined in
bng.c,
which breaks bng_leading_zero_bits, which in turn breaks bng_generic_div_rem
(among other things) for some divisors.
This can be fixed by adding #include "config.h" to bng.c.
Thanks for the report. I have added the #include to the working source.
Original bug ID: 3299
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Ville-Pertti Keinonen
Version: 3.08.1
OS: Any
Submission from: fa-3-0-0.fw.exomi.com (217.169.64.99)
Example:
#load "nums.cma";;
open Big_int;;
div_big_int (big_int_of_int 6755399441055744) (big_int_of_int
4503599627370496);;
zsh: floating point exception ocaml
The problem is caused by the fact that ARCH_SIXTYFOUR is not defined in bng.c,
which breaks bng_leading_zero_bits, which in turn breaks bng_generic_div_rem
(among other things) for some divisors.
This can be fixed by adding #include "config.h" to bng.c.
The text was updated successfully, but these errors were encountered: