[Issue 8784] New: std.bigint.BigInt.infinity
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 8 10:49:45 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8784
Summary: std.bigint.BigInt.infinity
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-10-08 10:31:44 PDT ---
Algorithms that use integers or floating point values sometimes need to use
int.max or double.infinity. BigInt.max is not available, because the size of a
BigInt is unbounded. So I suggest to add std.bigint.BigInt.infinity, also
usable as -BigInt.infinity, as negative.
--
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