Issues with compile time double [metamath]

Hi, In order to use plus_double_double<a,b>::type I needed to make the following two changes to boost/metamath/double/detail/shift.hpp Change line 72 to: shift_integral_impl<shift_sign_overflow<Amount>::value>::template apply<T,Value,Amount> Change line 113 to: struct shift_mantissa : shift_mantissa_impl<shift_sign<Amount>::value>::template apply<Mantissa,Amount> I am using gcc 4.0 in debian. Chris

On 8/23/05, Chris Weed <chrisweed@gmail.com> wrote:
Hi, In order to use plus_double_double<a,b>::type I needed to make the following two changes to boost/metamath/double/detail/shift.hpp
Change line 72 to: shift_integral_impl<shift_sign_overflow<Amount>::value>::template apply<T,Value,Amount>
Change line 113 to: struct shift_mantissa : shift_mantissa_impl<shift_sign<Amount>::value>::template apply<Mantissa,Amount>
I am using gcc 4.0 in debian. Chris
Thanks, Chris. The changes have been made, and a new version of metamath has been uploaded to the sandbox files section. Now 0.0 is handled correctly (including comparison of -0.0 and +0.0) NaN and Infinity should now also be handled correctly. Regards, Peder.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Chris Weed
-
Peder Holt