svn commit: trunk/uClibc: docs libm

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Feb 13 14:44:05 UTC 2009


On Sun, Feb 08, 2009 at 02:04:12AM +0000, vda at uclibc.org wrote:
>Author: vda
>Date: 2009-02-08 02:04:10 +0000 (Sun, 08 Feb 2009)
>New Revision: 25262
>
>Log:
>nextafterf: trying to correct FP exception handling
>
>
>
>Added:
>   trunk/uClibc/docs/probe_math_exception.c
>
>Modified:
>   trunk/uClibc/libm/math_private.h
>   trunk/uClibc/libm/s_nextafterf.c
>

>Modified: trunk/uClibc/libm/s_nextafterf.c
>===================================================================
>--- trunk/uClibc/libm/s_nextafterf.c	2009-02-07 22:30:39 UTC (rev 25261)
>+++ trunk/uClibc/libm/s_nextafterf.c	2009-02-08 02:04:10 UTC (rev 25262)

>@@ -38,12 +33,12 @@
> 		return y;
> 
> 	if (ix == 0) { /* x == 0? */
>-		float u;
>+// glibc 2.4 does not seem to set underflow?
>+//		float u;

Denys please, pretty please do NOT add C99 comments in uClibc.
They break bootstrap with C89 compilers needlessly.


More information about the uClibc mailing list