Re: libm lacks C99 functions -> no c++11 cmath in libstdc++

From: Dmitry Marakasov <amdmi3_at_amdmi3.ru>
Date: Wed, 29 Jan 2014 22:47:35 +0400
* Steve Kargl (sgk_at_troutmask.apl.washington.edu) wrote:

> > - bad enough by itself, it affects libstdc++ from ports' gcc in such a
> >   way that it disables C++11 math completely (along with a lot more
> >   other more widely used math functions)
> >
> >
> > - we may probably implement these by calling less-precise
> >   erf erfc lgamma tgamma as we do with other functions as we alredy
> >   do with some others
> 
> This, unfortuantely, has already been done, although it may only 
> be available in FreeBSD-current.  See src/lib/msun/src/imprecise.c.

I know, it's available on 10.0 as well. However that's not the case for
9.x, for which it's impossible to build c++11 math using software (even
if it doesn't use unimplemented functions), neither with system gcc
nor with gcc from ports.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3_at_amdmi3.ru  ..:  jabber: amdmi3_at_jabber.ru    http://www.amdmi3.ru
Received on Wed Jan 29 2014 - 17:47:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC