Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-09-06 20:58:02


Sylvain Pion <pion_at_[hidden]> writes:

[...]

| Actually, the dream solution would be to modify the "floating-literals" grammar
| in the standard, so that we can specify one of the four usual rounding modes,
| for each constant that we give.

I'm not sure you really need that complexity, for
numeric_limits<>::radix power of 2 (covered by IEEE-854, and includes
IBM formats) C99 hexadecimal-floatint-constant are sufficient. That
really covers many cases.

-- Gaby


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