bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30453: Bug in BC calculator version 1.07.1


From: Thomas Bracken
Subject: bug#30453: Bug in BC calculator version 1.07.1
Date: Tue, 13 Feb 2018 22:52:22 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Hello,

Your BC calculator does not do any truncation for the scale value

when it does a multiplication.  See example below.

It works fine on division, but not on multiplication.

Cheers!

Tom Bracken

address@hidden ~]$ bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale = 5
56.4325435 / 6.3408340583467346436
8.89986
56.4325435 * 6.3408340583467346436
357.82939_38239336408579_
56.4325435 * 6.3408340583467346436 / 1
357.82939
quit
address@hidden ~]$




--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]