| From | Sent On | Attachments |
|---|---|---|
| Andreas Tobler | Nov 12, 2008 11:49 am | |
| Peter Grehan | Nov 12, 2008 4:59 pm | |
| Marcel Moolenaar | Nov 12, 2008 7:23 pm | |
| Andreas Tobler | Nov 13, 2008 11:12 am | |
| Andreas Tobler | Nov 13, 2008 11:13 am | |
| Andreas Tobler | Nov 14, 2008 1:02 pm | |
| Peter Grehan | Nov 14, 2008 2:42 pm | |
| Andreas Tobler | Nov 16, 2008 11:01 am | |
| Marcel Moolenaar | Nov 16, 2008 11:20 am |
| Subject: | Re: ppc float.h | |
|---|---|---|
| From: | Peter Grehan (gre...@freebsd.org) | |
| Date: | Nov 14, 2008 2:42:56 pm | |
| List: | org.freebsd.freebsd-ppc | |
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 (da...@freebsd.org) - he's the floating point goto guy.
later,
Peter.
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "free...@freebsd.org"





