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

**To**:**current-users%NetBSD.org@localhost****Subject**:**Re: missing math function****From**:**Joerg Sonnenberger <joerg%britannica.bec.de@localhost>**- Date: Wed, 20 Feb 2013 12:57:26 +0100

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

**Follow-Ups**:**Re: missing math function***From:*Patrick Welche

**References**:**missing math function***From:*Patrick Welche

**Re: missing math function***From:*Jukka Ruohonen

**Re: missing math function***From:*Joerg Sonnenberger

**Re: missing math function***From:*Patrick Welche

- Prev by Date:
**Re: missing math function** - Next by Date:
**Re: missing math function** - Previous by Thread:
**Re: missing math function** - Next by Thread:
**Re: missing math function** - Indexes: