Boost logo

Boost :

From: Johan Råde (rade_at_[hidden])
Date: 2007-03-15 11:24:10


frederic.bron_at_[hidden] wrote:
>
> However, there is still the problem with the number of digits in the exponent: 2 with unix/cygwin (1e12) and 3 with windows (1e012).

In theory, you could solve the problem by putting together your own
implementation of std::num_put and std::num_get.

In practice, the best solution might be to replace strings such as 1e012
by 1e12 before you use them.
This is very easy using the boost regex library.

--Johan Råde


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