From: Paul A Bristow (boost_at_[hidden])
Date: 2003-06-18 16:27:27
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Gennaro Prota
| Sent: 18 June 2003 15:45
| To: boost_at_[hidden]
| Subject: [boost] Re: Math Constants Formal Review - accuracy
| is vital too
| > the proposed code uses namespaces
| >to allow selection of the FP size either individually:
| In Daniel's solution static_cast<type>(x) simply "selects"
| the corresponding specialization of x_value. So
| is fundamentally different from, say,
| double pi = ...;
Perhaps naively, I find this surprising - but I am not a language guru.
Can you/anyone confirm that this is required by the Standard
- and is in fact what happens when compilers process this?
If it walks like a duck and quacks like a duck ...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk