public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  bc only does integer division
Date: Mon, 04 Sep 2006 22:05:38 +0200	[thread overview]
Message-ID: <4776824.o8SQFdNK48@m-id.message-center.info> (raw)

Hello!

When I called "bc -l", I used to be able to do proper divisions,
ie. 1/4 returned 0.25. But now:

alexander@blatt /all $ bc -l
bc 1.06.94
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1/4
0

sys-devel/bc-1.06.94

Any idea what's going wrong here?

Thanks,

Alexander Skwar
-- 
BOFH Excuse #295:

The Token fell out of the ring. Call us when you find it.


-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-09-04 20:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 20:05 Alexander Skwar [this message]
2006-09-04 20:46 ` [gentoo-user] bc only does integer division Neil Bothwick
2006-09-04 20:55 ` Alex Schuster
2006-09-04 21:42   ` [gentoo-user] " Alexander Skwar
2006-09-06  8:25   ` [gentoo-user] " Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4776824.o8SQFdNK48@m-id.message-center.info \
    --to=listen@alexander.skwar.name \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox