spirit icon indicating copy to clipboard operation
spirit copied to clipboard

Limit the number of digits the real number policies can process.

Open djowel opened this issue 6 years ago • 1 comments

See: https://github.com/boostorg/spirit/pull/282

A better way to address this is to not allow such big digits in the default real number policies for primitive floating point numbers. The current code (real policies) limits the number of digits to traits::max_digits10<T>::value. The new ignore_excess_digits policy should also have a limit as well.

djowel avatar May 14 '19 23:05 djowel