Boost logo

Boost :

From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2001-03-30 14:06:15


I want to slightly increase the number of decimal digits to cover any
conceivable
future expansion.

It would help me to know if anyone has trouble compiling the following
with current compilers (because it has too many decimal digits).
(I have had a report of failure by some compiler(s) in the past,
but I think it/they may be cured now.

Perhaps you can slip it into some code you are working on,
and delete if compiles OK.

{ /* Test a silly number of decimal digits */
#define BOOST_SQRT2 1.4142135623730950488016887242096980785696718753769L

const long double sqrt_2 = (long double) BOOST_SQRT2;

#undef BOOST_SQRT2
}

Thanks

Paul

Dr Paul A Bristow, hetp Chromatography
Prizet Farmhouse
Kendal, Cumbria
LA8 8AB UK
+44 1539 561830
mailto:pbristow_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk