Boost logo

Boost :

From: Peder Holt (peder.holt_at_[hidden])
Date: 2005-09-12 00:46:27

On 9/11/05, Chris Weed <chrisweed_at_[hidden]> wrote:
> Hi,
> I was trying to test the trigonometric functions and add an exp
> function in the metamath library. I am not sure how to call them.

I have modified the sine_impl implementation in CVS, so now you can use:
 typedef sine_double<number> type;
double result=type();

In metamath/double/sine.hpp
I added:
template<typename Angle>
struct sine_double :
detail::sine_series<Angle,mpl::int_<0>,mpl::int_<13> >::type >

> Also line 58 of string_to_double.hpp needs to be changed to the
> following to compile in gcc:
> typedef typename pow_impl<unsigned_exponent>::template apply<T>::type
> positive_pow;

Great! changes applied to cvs.


> Thanks,
> Chris
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at