[Issue 6003] New: BigInt length and conversion properties problems
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 14 17:40:10 PDT 2011
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: nobody at puremagic.com
ReportedBy: paul.d.anderson at comcast.net
--- Comment #0 from Paul D. Anderson <paul.d.anderson at 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: -------
More information about the Digitalmars-d-bugs
mailing list