delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/01/08:27:15

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT ro DOT ru>
To: cygwin AT cygwin DOT com
Reply-To: "jaakov jaakov" <jaakov AT ro DOT ru>
Subject: xcalc comma doesn't work properly under de_DE.UTF-8
Date: Sat, 1 Feb 2014 17:26:53 +0400
Message-Id: <1391261213.884324.4397.6260@mail.rambler.ru>
MIME-Version: 1.0
X-Rambler-User: jaakov AT ro DOT ru/87.174.136.94
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019