Bruno Haible <[EMAIL PROTECTED]> writes:

> POSIX specifies [1] that <math.h> should declare frexpl() and ldexpl() but
> neither glibc not MacOS X 10.3 do so. (Paul, do you agree that it looks like
> a glibc bug?)

Yes, math.h should declare them as functions.  But are you sure it isn't 
already doing this somehow?  It works for me, with Debian stable:

$ cat t.c
#include <math.h>
$ /usr/bin/c99 -E t.c  | grep -wE 'frexpl|ldexpl'
extern long double frexpl (long double __x, int *__exponent) ; extern long 
double __frexpl (long double __x, int *__exponent) ;
extern long double ldexpl (long double __x, int __exponent) ; extern long 
double __ldexpl (long double __x, int __exponent) ;


Reply via email to