https://issues.dlang.org/show_bug.cgi?id=4673
Andrei Alexandrescu changed:
What|Removed |Added
Version|unspecified |D2
--
https://d.puremagic.com/issues/show_bug.cgi?id=4673
Dmitry Olshansky changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
/aca9995fa24f3610a9d5a15745f91f9dcf1c3075
Fix issue 4673
https://github.com/D-Programming-Language/phobos/commit/fd8e2bf6e124da59f37c650c2126fd72b096bf1b
Merge pull request #1207 from andralex/4673
Fix issue 4673 - Bug in std.string (isNumeric)
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=4673
Rob T changed:
What|Removed |Added
CC||al...@ucora.com
--- Comment #10 from Rob T 20
http://d.puremagic.com/issues/show_bug.cgi?id=4673
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4673
--- Comment #9 from kenn...@gmail.com 2010-08-25 12:31:06 PDT ---
(In reply to comment #8)
> Created an attachment (id=740) [details]
> Improvements of the proposed patch
>
> Well, I checked the lexical page about D2 and it seems that something
http://d.puremagic.com/issues/show_bug.cgi?id=4673
Petit Vincent changed:
What|Removed |Added
Attachment #733 is|0 |1
obsolete|
http://d.puremagic.com/issues/show_bug.cgi?id=4673
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmail.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=4673
--- Comment #6 from kenn...@gmail.com 2010-08-20 14:13:56 PDT ---
Should complex literals ("3.4+5.6i") _still_ be considered numeric? As the
built-in complex types are scheduled for deprecation...
--
Configure issuemail: http://d.puremagic.com
http://d.puremagic.com/issues/show_bug.cgi?id=4673
--- Comment #5 from Petit Vincent 2010-08-20 23:06:05
CEST ---
Created an attachment (id=733)
Maybe a patch which works.
Well this is way to improve the current isNumeric function.
It works well for these kinds of numerics :
(+/-) 1, 1L, 1U
http://d.puremagic.com/issues/show_bug.cgi?id=4673
kenn...@gmail.com changed:
What|Removed |Added
CC||kenn...@gmail.com
--- Comment #4 fr
http://d.puremagic.com/issues/show_bug.cgi?id=4673
--- Comment #3 from bearophile_h...@eml.cc 2010-08-18 04:07:13 PDT ---
You are right, my reduced version was useless, this shows the problem:
import std.string: isNumeric;
void main() {
assert(isNumeric("F"));
assert(isNumeric("L"));
http://d.puremagic.com/issues/show_bug.cgi?id=4673
--- Comment #2 from Petit Vincent 2010-08-18 12:51:37
CEST ---
(In reply to comment #1)
> This reduced case shows that parse() doesn't accept "F" or "L", so I don't see
> the problem yet:
>
>
> import std.conv;
> void main() {
> int n1 =
http://d.puremagic.com/issues/show_bug.cgi?id=4673
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
14 matches
Mail list logo