www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5285] New: bigint won't compile in 64 bit

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5285

           Summary: bigint won't compile in 64 bit
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: ellery-newcomer utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer utulsa.edu> 2010-11-28
12:46:53 PST ---
the code:

import std.bigint;
void main(){
        if(BigInt(1) < BigInt(2)){
        }
}


the fireworks:

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.5/../../../../include/d2/4.4.5/std/internal/math/biguintcore.d:183:
Error: cannot implicitly convert expression
(highestDifferentDigit(this.data,y.data)) of type ulong to uint

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 28 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5285


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug yahoo.com.au
         Resolution|                            |FIXED


--- Comment #1 from Don <clugdbug yahoo.com.au> 2011-04-29 14:48:34 PDT ---
https://github.com/D-Programming-Language/phobos/commit/134d9e14a973fc8bd99d452b7b177153697e9634

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 29 2011