Re: new common math function modules

2010-01-31 Thread Bruno Haible
Paolo Bonzini wrote: > > I'll think I'll merge the test for EXP_LIBM, LOG_LIBM etc. into a single > > one - to save configure script execution time, as you say -. > > That's fair enough, thanks. Implemented as follows: 2010-01-31 Bruno Haible Perform the same test for many function

Re: new common math function modules

2010-01-24 Thread Bruno Haible
On 2010-01-18 I wrote: > 2010-01-18 Bruno Haible > > New modules for common functions. > * m4/mathfunc.m4: New file. Oops. This commit had 3 bugs: - The autoconf test for atan2, copysign, fmod, hypot, jn, ldexp, modf, nextafter, pow, remainder, yn always failed, for example:

Re: new common math function modules

2010-01-20 Thread Paolo Bonzini
On 01/20/2010 12:52 PM, Bruno Haible wrote: I'll think I'll merge the test for EXP_LIBM, LOG_LIBM etc. into a single one - to save configure script execution time, as you say -. But the different variables should stay, because when some platform moves 'exp' from libm to libc, not all Makefile.ams

Re: new common math function modules

2010-01-20 Thread Bruno Haible
Paolo Bonzini wrote: > This causes -lm -lm -lm -lm -lm to appear in the link > lines, which is not aesthetic We can certainly work against avoiding duplicate -lm. I'm applying the patch below. > and causes quite some bloat in configure scripts size and execution time. > > Is there a function tha

Re: new common math function modules

2010-01-19 Thread Paolo Bonzini
I oppose this. This causes -lm -lm -lm -lm -lm to appear in the link lines, which is not aesthetic, and causes quite some bloat in configure scripts size and execution time. Is there a function that is never provided in libc unless all of them are provided in libc? If so, I'd say that a simple A

new common math function modules

2010-01-18 Thread Bruno Haible
The module 'sqrtl' depends on sqrt. But we don't have an 'sqrt' module yet, which determines where the sqrt function sits. So I'm adding one. While at it, 35 other math.h functions can be treated in the same way. 2010-01-18 Bruno Haible New modules for common functions. * m4