[Bug 1589717] [NEW] bc cannot handle "comma" instead of "dot" in floating point operations
ben sen
1589717 at bugs.launchpad.net
Mon Jun 6 22:24:31 UTC 2016
Public bug reported:
Using comma in floating point arithmetic operations causing problem in
bc.
Can be reproduced by using following command;
bc <<< "100 - 97,2"
It is running without an error if comma is replaced by dot as following;
bc <<< "100 - 97.2"
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bc 1.06.95-9build1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 7 01:17:11 2016
InstallationDate: Installed on 2016-06-05 (1 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: bc
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: bc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bc in Ubuntu.
https://bugs.launchpad.net/bugs/1589717
Title:
bc cannot handle "comma" instead of "dot" in floating point operations
Status in bc package in Ubuntu:
New
Bug description:
Using comma in floating point arithmetic operations causing problem in
bc.
Can be reproduced by using following command;
bc <<< "100 - 97,2"
It is running without an error if comma is replaced by dot as following;
bc <<< "100 - 97.2"
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bc 1.06.95-9build1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 7 01:17:11 2016
InstallationDate: Installed on 2016-06-05 (1 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: bc
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bc/+bug/1589717/+subscriptions
More information about the foundations-bugs
mailing list