public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "emileneth at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/14510] LC_NUMERIC wrong for various latin america locales
Date: Mon, 13 Jan 2014 19:25:00 -0000	[thread overview]
Message-ID: <bug-14510-131-OQnoR1P9Iu@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14510-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=14510

Christian Servín <emileneth at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emileneth at gmail dot com

--- Comment #5 from Christian Servín <emileneth at gmail dot com> ---
The reference:
"México: http://www.economia.gob.mx/files/diagnostico_economia_mexicana.pdf"

Is a gobernment document for formal informational purposes and it obeys a
visual design (like a powrpoint presentation), it is not intended for computer
systems I'm listing the troubles with this document:

a) Numerical data is presented with one, two or three decimals, depending on
the precision needed in the graph or paragraph. For day to day computational
numerical presentations two digit is good enough, just the same as en_US.
b) The document arbitrarily use Monetary format without the thousand separator
",", page 22 uses the notation 833,998 mdp (millions of pesos) without the $
symbol, but like the en_US we do use the $ symbol for money
c) Commonly the percentual values are good enough with %XX.x, math is math here
and in china.

Latin American numerical keyboard uses the "." for decimal and it is important
for us because when we make calculations with this keyboard its we use this key
for fast typing, same as in en_US

Right now the locale is like the spaniard persons use it. We can use the es_ES
way (decimal"," & thousands".") only when we exchange documents with en_ES
country, but it is not very common.

In México as of Jan 2010 it was introduced an increment in tax, up to 16%, this
value introduces troubles while calculating accounting balances when using only
2 decimal digits, so since that date accounting and monetary systems began to
use 4 digit precision. Formatted monetary values must include all 4 digits to
avoid manual transcription errors or precision errors during numerical methods.

For the same reason we also use 4 digits when exchanging currencies (same as
en_US): http://finance.yahoo.com/q?s=USDMXN=X

This issue goes back to 2012, its time to make it right

See also:

http://publib.boulder.ibm.com/infocenter/forms/v3r5m0/index.jsp?topic=/com.ibm.form.designer.locales.doc/i_xfdl_r_formats_es_MX.html

http://lh.2xlibre.net/locale/es_MX/

http://www.localeplanet.com/icu/es-MX/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-20830-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 19:50:05 2014
Return-Path: <glibc-bugs-return-20830-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27490 invoked by alias); 13 Jan 2014 19:50:05 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27442 invoked by uid 48); 13 Jan 2014 19:50:02 -0000
From: "emileneth at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/14510] LC_NUMERIC wrong for various latin america locales
Date: Mon, 13 Jan 2014 19:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: emileneth at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: libc-locales at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-14510-131-OBNIuMdBHr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14510-131@http.sourceware.org/bugzilla/>
References: <bug-14510-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-01/txt/msg00231.txt.bz2
Content-length: 280

https://sourceware.org/bugzilla/show_bug.cgi?id=14510

--- Comment #6 from Christian Servín <emileneth at gmail dot com> ---
I just edited my 
/usr/share/i18n/locales/es_MX

From:
LC_NUMERIC

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-20831-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 19:58:13 2014
Return-Path: <glibc-bugs-return-20831-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 2404 invoked by alias); 13 Jan 2014 19:58:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 2356 invoked by uid 48); 13 Jan 2014 19:58:09 -0000
From: "emileneth at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/14510] LC_NUMERIC wrong for various latin america locales
Date: Mon, 13 Jan 2014 19:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: emileneth at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: libc-locales at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-14510-131-nGHTeXUFXV@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14510-131@http.sourceware.org/bugzilla/>
References: <bug-14510-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-01/txt/msg00232.txt.bz2
Content-length: 407

https://sourceware.org/bugzilla/show_bug.cgi?id=14510

--- Comment #7 from Christian Servín <emileneth at gmail dot com> ---
I just edited my 
/usr/share/i18n/locales/es_MX

From:
LC_NUMERIC
copy "es_ES"
END LC_NUMERIC

To:
LC_NUMERIC
copy "en_US"
END LC_NUMERIC

and inside LC_MONETARY
int_frac_digits4
frac_digits 4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-20832-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 09:02:21 2014
Return-Path: <glibc-bugs-return-20832-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 24129 invoked by alias); 14 Jan 2014 09:02:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 24100 invoked by uid 48); 14 Jan 2014 09:02:17 -0000
From: "krebbel1 at de dot ibm.com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16447] New: erfc (0x6.a8p+4) ldbl-128 throws underflow exception
Date: Tue, 14 Jan 2014 09:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel1 at de dot ibm.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-16447-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-01/txt/msg00233.txt.bz2
Content-length: 584

https://sourceware.org/bugzilla/show_bug.cgi?id\x16447

            Bug ID: 16447
           Summary: erfc (0x6.a8p+4) ldbl-128 throws underflow exception
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: krebbel1 at de dot ibm.com

testing long double (without inline functions)
Failure: erfc (0x6.a8p+4): Exception "Underflow" set

--
You are receiving this mail because:
You are on the CC list for the bug.


  parent reply	other threads:[~2014-01-13 19:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 17:54 [Bug localedata/14510] New: " law at redhat dot com
2012-08-22 18:03 ` [Bug localedata/14510] " law at redhat dot com
2012-08-22 23:56 ` keld at keldix dot com
2013-06-10 17:51 ` jorsol at ubuntu dot org.ni
2013-06-18 20:49 ` ldominguez at tamps dot cinvestav.mx
2014-01-13 19:25 ` emileneth at gmail dot com [this message]
2014-02-12  4:49 ` carlos at redhat dot com
2014-06-17  5:54 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14510-131-OQnoR1P9Iu@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).