boostorg / boostorg/spirit

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

Open
#508 1 comment 0 reactions 1 assignee Claimed by @djowel View on GitHub
enhancement need more info
Dominant language
C++
Stars
432
Forks
165
PR merge metrics
No merged PRs in 30d

Description

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::value. The new ignore_excess_digits policy should also have a limit as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.