Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!okstate.UUCP!uokvax.UUCP!emjej From: emjej@uokvax.UUCP Newsgroups: net.micro.amiga Subject: Re: Followup: Aztec - good, bad, h Message-ID: <50200014@uokvax.UUCP> Date: Fri, 6-Jun-86 10:28:00 EDT Article-I.D.: uokvax.50200014 Posted: Fri Jun 6 10:28:00 1986 Date-Received: Mon, 9-Jun-86 03:07:39 EDT References: <379@sask.UUCP> Lines: 18 Nf-ID: #R:sask.UUCP:379:uokvax.UUCP:50200014:000:618 Nf-From: uokvax.UUCP!emjej Jun 6 09:28:00 1986 /* Written 1:40 pm Jun 3, 1986 by hardie@sask.UUCP in net.micro.amiga */ #define PI 3.1415926525987654321 /* don't worry about the exact value */ main() { printf("%f\n",PI); } will print some outrageous value like 0.0922 etc. but changing only the defined value to 3.14159 will make it print out a more or less reasonable value. /* End of text from net.micro.amiga */ Sounds like canonical C float/double confusion. Not knowing how parameters are passed in Aztec C I can't give gory details, but check the docs on what %f really expects... (Oh, yeah; it's 3.1415926535897932384626...:-) James Jones