
15 Mar
2007
15 Mar
'07
3:24 p.m.
frederic.bron@alcan.com 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