Boost logo

Boost :

From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2004-03-04 15:19:11


Le jeu 04/03/2004 à 17:53, Matthias Schabel a écrit :
> For numeric code these functions are indispensible but, since they're
> C99, they are technically C++ verboten. It seems to me that it would
> be worthwhile to add them to boost::math - they could probably just be
> cut-n-pasted from the C99 gcc headers...
>
> Matthias

I won't repeat one more time on this mailing-list my opinion on the C99
mathematical and floating-point functions. However I want to point out
(since nobody else did it) that it is impossible to simply "cut-n-past
from the C99 GCC headers". Indeed Boost and the GNU C Library do not
share the same license. Moreover the problem becomes platform- and
compiler-dependent if you want to handle the long double type (is it 8,
10, 12 or 16 bytes long?) for example. So it is a lot more work than
just copy-pasting some headers.

Regards,

Guillaume


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk