[Issue 4119] bigint string assign
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 24 19:40:24 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4119
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-04-24 19:40:20 PDT ---
That's a disgusting implicit cast. It doesn't belong in D (would be fine in a
loosely-typed or scripting language). That should be rewritten as:
BigInt i;
i = BigInt("100_000_000_000_000_000_000_000_000_000");
Also, using magic numbers inside code is not something that should be
encouraged.
--
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