This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2211] [PATCH] Localized digits for reading floating-point numbers


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]