Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] bc only does integer division
Date: Mon, 04 Sep 2006 20:22:13
Message-Id: 4776824.o8SQFdNK48@m-id.message-center.info
1 Hello!
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 Foundation, Inc.
9 This is free software with ABSOLUTELY NO WARRANTY.
10 For details type `warranty'.
11 1/4
12 0
13
14 sys-devel/bc-1.06.94
15
16 Any idea what's going wrong here?
17
18 Thanks,
19
20 Alexander Skwar
21 --
22 BOFH Excuse #295:
23
24 The Token fell out of the ring. Call us when you find it.
25
26
27 --
28 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] bc only does integer division Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] bc only does integer division Wonko@wonkology.org (Alex Schuster)