ppc float.h
Peter Grehan
grehan at freebsd.org
Fri Nov 14 14:44:04 PST 2008
Hi Andreas,
>Coming back to myself. Doesn't matter if going to 128-bit
long double or
>not. The LDBL_MIN/MAX/EPSILON definitions in float.h are wrong.
>
>If you do a printf ("%Lf\n", LDBL_EPSILON); you run into a
compiler warning:
>
>warning: format '%Lf' expects type 'long double', but
argument 2 has
>type 'double'
>
>So to fix that I propose the appended patch.
>
>Thanks,
>Andreas
>
>P.S, making the compiler work with 128-bit long-double is
still possible.
I'm way out of my depth here. You probably want to speak to
David Schulz (das at freebsd.org) - he's the floating point goto guy.
later,
Peter.
More information about the freebsd-ppc
mailing list