
19 Dec
2005
19 Dec
'05
8:54 p.m.
Hi, I am trying to simply print a compile-time double using gcc 4.0.0 on Sun. The following prints out : 1.9036e+185 #include <boost/metamath/double.hpp> #include <boost/metamath/double_macros.hpp> #include <iostream> int main() { typedef BOOST_DOUBLE(3.3) D; D d; std::cout << (double)d << std::endl; return 0; } Am I doing something wrong? Chris