Created on 2006-05-28.00:00:00 last changed 171 months ago
Proposed resolution:
In "3.3 Additions to header <limits>
" change numeric_limits<decimal::decimal128> as follows:
template<> class numeric_limits<decimal::decimal128> { public: static const bool is_specialized = true; static decimal::decimal128 min() throw() { return DEC128_MIN; } static decimal::decimal128 max() throw() { returnDEC128_MIN;DEC128_MAX; } static const int digits =38434; /* ... */
Daniel writes in a private email:
- 3.3 'Additions to header <limits>' contains two errors in the specialisation of numeric_limits<decimal::decimal128>:
- The static member max() returns DEC128_MIN, this should be DEC128_MAX.
- The static member digits is assigned to 384, this should be 34 (Probably mixed up with the max. exponent for decimal::decimal64).
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg3187 |
2006-05-28 00:00:00 | admin | create |