Boost logo

Boost :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2005-12-19 15:54:01

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?

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