|
Boost : |
From: Chris Weed (chrisweed_at_[hidden])
Date: 2005-12-19 15:54:01
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk