X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:reply-to:subject:date
	:content-transfer-encoding:content-type:message-id:mime-version;
	 q=dns; s=default; b=Art1sUwZZvo+vk5uDT9RnimT4mftiYVVV3DehXXfE32
	CUdwwhxOB3K2i1J2roTd7uogCwnFZiKBPF3Fax3JJ+grIc6eRMCeVPoR2VUafJaG
	OYhFw4dZBEK6yKAgWsgFGWQ+Z//vB4pbbWxby7MpHCfgTOr30+ZgI3bL4tdL9LjY
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:reply-to:subject:date
	:content-transfer-encoding:content-type:message-id:mime-version;
	 s=default; bh=0VnpFcr5k0+JHztnPhX8FQztgKc=; b=fGFPe997O+GN3E4UX
	ydtNpSSk0lma7TTn9Gu5cy2siZ5eE69Zn8mVidjKcCtTrDYRiU8M13dbzHARweRu
	2f7WnIQfXSSmxeWNtRfglq1kf5HIGHhBlmbhhcnjM0pNV8Bof/k9QoDXB189DGoJ
	I3qK9o51m/tSHs0zp8IsZ4b3jw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.9 required=5.0 tests=AWL,BAYES_50,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: mxout2.rambler.ru
From: "jaakov jaakov" <jaakov@ro.ru>
To: cygwin@cygwin.com
Reply-To: "jaakov jaakov" <jaakov@ro.ru>
Subject: xcalc comma doesn't work properly under de_DE.UTF-8
Date: Sat, 1 Feb 2014 17:26:53 +0400
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"; format="flowed"
Message-Id: <1391261213.884324.4397.6260@mail.rambler.ru>
MIME-Version: 1.0
X-Rambler-User: jaakov@ro.ru/87.174.136.94
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s11DR9ch028871


Package: xcalc
Version: 1.0.5

Problem: Input digits after the decimal separator (comma in German) are ignored for computation.
Steps to reproduce:
A. Make sure that the LANG shell variable is set to "de_DE.UTF-8" .
B. Start xcalc from the shell.
C. Using mouse, press the following screen buttons in the xcalc window:
 1
 .
 1
 x^2
D. Observe that the result is 1, which is wrong, since the square of 1.1 is 1.21.

If in step A the LANG would be set to, say, "en", the result would be a correct 1.21.
If in step A we keep the German locale but in step C we would press pi, and then x^2, the after-dot-digits would be considered again.

Please fix the bug!

Best regards,

Jaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


