digitalmars.D.bugs - [Issue 11583] New: bigint bug
- d-bugmail puremagic.com (24/24) Nov 22 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (9/9) Nov 23 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (12/12) Nov 23 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (10/10) Nov 23 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (17/17) Dec 04 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (11/11) Dec 05 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11583
- d-bugmail puremagic.com (10/10) Feb 23 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11583
https://d.puremagic.com/issues/show_bug.cgi?id=11583 Summary: bigint bug Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: yuri.musashi.miwa.tamura gmail.com 2013-11-22 19:48:32 PST --- import std.stdio; import std.bigint; void main() { BigInt x = 0; writeln(x > 0); } => true This seems new in v2.064. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 22 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Severity|normal |regression -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 23 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh quickfur.ath.cx This is caused by the changes in commit 202d182152575db1d744ed5ee89b05a39e5a807b. BigUint.opCmp(Tulong y) returns the wrong result for comparison with 0. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 23 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/phobos/pull/1715 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 23 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8f132413dd17114ab8a1f1bb1589098602f785a6 Fix issue 11583. The problem is that the assumption that the first word of a BigUint is always non-zero is false when BigUint == biguintcore.ZERO, which is defined to be [0]. So we need to check for that case in BigUint.opCmp(ulong). Also, crash-proof BigUint's invariant, since it would cause an out-of-bounds array access if a bug causes data.length==0. https://github.com/D-Programming-Language/phobos/commit/5ef0d3428fd8fd1f11d5469f1330ffa963018e50 Fix issue 11583. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 04 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Verified fixed in git HEAD. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 05 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11583 safety0ff.bugz <safety0ff.bugz gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |killebrew.daniel gmail.com 17:43:49 PST --- *** Issue 12234 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 23 2014