[net.micro.amiga] Followup: Aztec - good, bad, h

emjej@uokvax.UUCP (06/06/86)

/* 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