[Issue 5543] to!int to see a char as a single-char string
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 21 08:11:22 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5543
--- Comment #14 from monarchdodra at gmail.com 2012-12-21 08:11:21 PST ---
(In reply to comment #11)
>
> Aye, and given there are things like "1e12" I don't think packing it would work
> any better... some kind of custom type is required.
Really? According to:
http://unicode.org/cldr/utility/properties.jsp?a=Numeric_Value#Numeric_Value
They only go from
-0.5 // TIBETAN DIGIT HALF ZERO
to
1_000_000 // ROMAN NUMERAL ONE HUNDRED THOUSAND
So I figured though we were in the number plane where there is a perfect "int
<=> double" correlation. If this is not the case...
--
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