Try this:

#include <stdio.h>
int main()
double pi = 3.14159265358979323846 ;

        printf("%20.19f\n", pi);

and here is what you get:
host: [16:45] [127] /tmp>./test

 The error in last 4 or digits is obvious. It seems
that the culprit is __dtoa which incorrectly turns
double precision numbers into strings.
This is on FreeBSD 4.3 release..


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to