Current-Users archive

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

Re: missing math function

On Mon, Feb 18, 2013 at 09:29:31PM +0100, Joerg Sonnenberger wrote:
> On Mon, Feb 18, 2013 at 09:46:28PM +0200, Jukka Ruohonen wrote:
> > On Mon, Feb 18, 2013 at 06:16:56PM +0000, Patrick Welche wrote:
> > > After nearbyint, I think a few more math functions need importing.
> > > 
> > > I just tried to compile pkgsrc/lang/R, and discovered
> > 
> > Does R actually use long double? I think not.
> It has incorrect configure tests for the existance of the math
> functions. GCC (and clang for that matter) can do build time constant
> folding the way it is done.

I shouldn't have mentioned R. Why does math.h contain

long double     powl(long double, long double);

if there is no implementation of powl on the system? Or is there one which
I am missing?



Home | Main Index | Thread Index | Old Index