bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frexpl, ldexpl declarations


From: Paul Eggert
Subject: Re: frexpl, ldexpl declarations
Date: Mon, 05 Mar 2007 21:35:13 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]