Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 16:35:12 -0400
From:      Garrett Wollman <wollman@csail.mit.edu>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-numerics@freebsd.org, freebsd-standards@freebsd.org
Subject:   Re: standards/175811: libstdc++ needs complex support in order use C99
Message-ID:  <20903.47104.38977.577307@khavrinen.csail.mit.edu>
In-Reply-To: <A3633CF7-B0D3-4E09-88FC-1D40197C652C@bsdimp.com>
References:  <201302040328.r143SUd3039504@freefall.freebsd.org> <510F306A.6090009@missouri.edu> <C5BD0238-121D-4D8B-924A-230C07222666@FreeBSD.org> <20130530064635.GA91597@zim.MIT.EDU> <A3633CF7-B0D3-4E09-88FC-1D40197C652C@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 30 May 2013 07:56:24 -0600, Warner Losh <imp@bsdimp.com> said:

> I'm all for getting everything we can into the tree that produces an
> answer that's not perfect, but close. What's the error that would be
> generated with the naive implementation of

> long double tgammal(long double f) { return tgamma(f); }

Perhaps we could implement these functions in such a way that they
logged a message to inform the user (once per process) that they were
using a low-quality implementation.  That would allow us to implement
these functions without totally losing the incentive to implement them
properly, and those users who don't actually call those functions
would not have to pay the price of further delay.  (This would be a
non-conforming implementation, since it would have side effects other
than those specified by the standard, but we already fail to conform
by not implementing the functions at all, so it wouldn't make things
*worse*.)

-GAWollman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20903.47104.38977.577307>