This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
problems with long double data type...
- From: Trevor Blackwell <tlb at anybots dot com>
- To: Gabriel Andres Goenaga Jimenez <gabrielgoenaga at hotmail dot com>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: 12 Nov 2002 09:04:33 -0800
- Subject: problems with long double data type...
if you have:
long double x;
use:
printf("%Lg",x)
(or %Lf or %Le, as you prefer.) "man 3 printf" has the full details
--
Trevor Blackwell tlb@anybots.com (650) 776-7870