Current-Users archive

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

Re: missing math function



On Wed, Feb 20, 2013 at 12:57:26PM +0100, Joerg Sonnenberger wrote:
> On Wed, Feb 20, 2013 at 11:55:09AM +0000, Patrick Welche wrote:
> > 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?
> 
> Some platforms have double == long double, so powl is effectively an
> alias for pow on those.

I'm still missing something:

# grep -rwI powl /usr/src/lib/libm
grep: /usr/src/lib/libm/arch/i387/obj.i386: No such file or directory
grep: /usr/src/lib/libm/obj.i386: No such file or directory

so, no hits for powl() - should I be looking elsewhere?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index