This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2211] [PATCH] Localized digits for reading floating-point numbers
- From: "hamed at farsiweb dot info" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 May 2006 17:34:26 -0000
- Subject: [Bug libc/2211] [PATCH] Localized digits for reading floating-point numbers
- References: <20060126142147.2211.hamed@farsiweb.info>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hamed at farsiweb dot info 2006-05-18 17:34 -------
(In reply to comment #3)
> The patch is inadequate. First of all, you punish all people who don't use
> extended digits (99.999%) still too much. At least use __builtin_expect, much
> better even have exactly one expression in the if statements deciding whether to
> match extended digits.
>
Done, with some other changes. Attaching
> Second, and more importantly, why did you hook up only the to_inpunct
> information? The indigits information should be used as for integers.
It seems indigits information come from digit tag in locale file which should be
always ASCII as you also said once:
http://sourceware.org/ml/libc-alpha/2004-06/msg00181.html
So using INDIGITS has nothing in this patch (also in reading integer numbers).
If not, Please let me know to correct the patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=2211
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.