At 10:48 AM +0200 8/13/99, Axel M. Roest wrote: >"Walter Torres" <walter@tscinternet.com> wrote: >>running this >> >> printf ("%.50f", atan2(1,1) * 4.0); >> >>I get... >> >>Static value: >>3.1415926535897931159979634685441851615905761718750 >> >>NT 4.0 Server Derived value: >>3.14159265358979310000000000000000000000000000000000 >> >>Solaris V release 4 Derived value: >>3.14159265358979311599796346854418516159057617187500 > >Hmmm, this is not related to the famous Pentium bug, is it? > Let's see, PPC: printf ("%.50f", atan2(1,1) * 4.0); gives: 3.14159265358979311599796346854418516159057617187500 (same as Solaris above). Accurate to here ^ as Brian McNett points out, which is where the NT truncates, so I wouldn't call it, er, precisely, a bug... Meanwhile, Brian: great so far! Do you think Perl could ask out loud "accurate to how many digits?", then the user could just type in a number & hit return, and the script would speak it out? In due time of course, the user won't have to type it, but rather just tell the machine orally... - Bruce __Bruce_Van_Allen___bva@cruzio.com__831_429_1688_V__ __PO_Box_839__Santa_Cruz_CA__95061__831_426_2474_W__ ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org