Gentoo Archives: gentoo-user

From: Wonko@wonkology.org (Alex Schuster)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bc only does integer division
Date: Mon, 04 Sep 2006 21:11:25
Message-Id: A0Fpco49d8B@wonkology.org
In Reply to: [gentoo-user] bc only does integer division by Alexander Skwar
1 Alexander Skwar writes:
2
3 > When I called "bc -l", I used to be able to do proper divisions,
4 > ie. 1/4 returned 0.25. But now:
5 >
6 > alexander@blatt /all $ bc -l
7 > bc 1.06.94
8 > Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software
9 > Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY.
10 > For details type `warranty'.
11 > 1/4
12 > 0
13
14 > Any idea what's going wrong here?
15
16 Yes, this is a known bug. 1.06.95 will fix this issuet, but that might
17 take a while, since the bug is known since june.
18
19 http://bugs.gentoo.org/show_bug.cgi?id=136643
20
21 The stable version 1.06-r6 is working fine, so I suggest you
22 downgrade.
23
24 Alex
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: bc only does integer division Alexander Skwar <listen@×××××××××××××××.name>
Re: [gentoo-user] bc only does integer division Neil Bothwick <neil@××××××××××.uk>