Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!sci.kun.nl!atcmpe!ronald From: ronald@atcmp.nl (Ronald Pikkert) Newsgroups: comp.unix.wizards Subject: Re: Reliability of `bc' (or: is `bc' buggy?) Message-ID: <898@atcmpe.atcmp.nl> Date: 4 Mar 91 11:58:59 GMT References: <1991Mar1.093606.3280@glance.ch> Organization: AT Computing, Nijmegen, The Netherlands Lines: 28 From article <1991Mar1.093606.3280@glance.ch>, by david@glance.ch (David Mosberger): ] What may cause these strange results with control characters in the output? I tried this input: a=119615636279504466 b=196129796 a b a/b scale=15 a/b and it gave this ouput: 119615636279504466 196129796 609880-2208 609879981.109573305220793 I found that any scale >= 1 solves the problem. I'm not sure about the exact cause. - Ronald Pikkert E-mail: ronald@atcmp.nl @ AT Computing b.v. Tel: 080 - 566880 Toernooiveld 6525 ED Nijmegen