From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6efc7adbcf3cc73 X-Google-Attributes: gid111c93,public From: cchd@lucifer.its.latrobe.edu.au (Huw Davies) Subject: Re: Fast Compilers for Linux Date: 1998/05/25 Message-ID: <6kakfu$4sq$1@news.latrobe.edu.au>#1/1 X-Deja-AN: 356209195 References: <3565A475.3940EB48@frankfurt.netsurf.de> <6k4aoj$j12@news1.newsguy.com> <3565C455.56346615@frankfurt.netsurf.de> Organization: La Trobe University Newsgroups: comp.os.linux.alpha James H. Cloos Jr. (cloos@jhcloos.com) wrote: : Try: echo 'obase=16; scale=56; 4*a(1);' |bc -ql Cool trick! It even seems to get the right answer in base 10, but at least under Digital Unix, gets very much the _wrong_ answer in base 2, that is, unless pi=3.125 :-) I've just tested it on a Linux/Alpha box which seems a lot closer to the truth (I recall the tedious proof that pi is trancendental....). Time to log a call with Digital - must be that 64 bit stuff not working, or perhaps it's a compiler problem? -- Huw Davies | e-mail: Huw.Davies@latrobe.edu.au Information Technology Services | Phone: +61 3 9479 1550 Fax: +61 3 9479 1999 La Trobe University | "My Alfas keep me poor in a monetary Melbourne Australia 3083 | sense, but rich in so many other ways"