http://d.puremagic.com/issues/show_bug.cgi?id=6003

           Summary: BigInt length and conversion properties problems
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: paul.d.ander...@comcast.net


--- Comment #0 from Paul D. Anderson <paul.d.ander...@comcast.net> 2011-05-14 
17:36:06 PDT ---
When I try to compile this code:

import std.bigint;

void main() {
    BigInt big = BigInt(123456);
    int size = big.uintLength();
    int value = big.toInt();
}

I get the following errors:

TestToInt.d(5): Error: no property 'uintLength' for type 'BigInt'
TestToInt.d(5): Error: function expected before (), not __error of type int
TestToInt.d(6): Error: no property 'toInt' for type 'BigInt'
TestToInt.d(6): Error: function expected before (), not __error of type int

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

Reply via email to