digitalmars.D.bugs - [Issue 11599] New: BigInt crashes on very large operations.
- d-bugmail puremagic.com (39/39) Nov 24 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11599
- d-bugmail puremagic.com (7/7) Feb 05 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11599
https://d.puremagic.com/issues/show_bug.cgi?id=11599 Summary: BigInt crashes on very large operations. Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: supernova2003dh yahoo.com Created an attachment (id=1294) Test caase When I use std.BigInt to calculate the 939970th Fibonacci number, it works, returning an integer with 196443 digits. However, when I try to calculate the 939971st Fibonacci number, I get an assertion failure in debug mode: core.exception.AssertError /home/demetri/bin/ldc/runtime/phobos/std/internal/math/biguintcore.d(1750): Bigint Internal Error: Asymmetric Karatsuba and a segfault in release mode. Stack trace: std.bigint.BigInt.__T8opBinaryVAyaa1_2aTS3std6bigint6BigIntZ.opBinary() () -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 24 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11599 17:06:26 PST --- Created an attachment (id=1320) Reduced test -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 05 2014