Joel de Guzman
80bb2a9fab
Fix for https://github.com/boostorg/spirit/issues/503 . Float compariso is tricky. eps for comparision is wrong in some cases.
2019-05-05 03:18:19 +08:00
Nikita Kniazev
0810e33c69
Remove broken 1.0#INF parser
...
It was poorly documented and never worked correctly. None of atof, strtof, and
input streams are accepting such values. Fixing it would be a bigger breaking
change than removing it.
Fixes #415 , addresses #163 and https://svn.boost.org/trac10/ticket/8699
2019-02-10 02:43:40 +03:00
Nikita Kniazev
02c3c30077
ts_real_policies: Parse directly into output parameter
...
There is no need to initialize accumulator with zero value before the first
call to `parse`, and to use a temporary.
2018-03-10 19:22:28 +03:00
Nikita Kniazev
dc9e23e9f5
ts_real_policies: Output parameter is of actual accumulator type
2018-03-10 19:12:28 +03:00
Nikita Kniazev
e472c0536f
ts_real_policies: One iterator copy less optimization
2018-03-10 19:09:41 +03:00
Nikita Kniazev
1a72c27306
ts_real_policies: Fixed small numbers parsing
...
Numbers in range (-1000.0, 1000.0) has only one segment (no thousands delimiter),
and are parsed in `if` statement expression.
2018-03-10 19:06:11 +03:00
Nikita Kniazev
519f9db94b
Qi.Tests: real: Fixed accumulator type
2017-11-21 19:49:37 +03:00
Joel de Guzman
b7c04a2374
Big exponents now fail parsing instead of a runtime assertion.
2014-11-07 18:23:19 +08:00
Bryce Adelstein-Lelbach
1446a3fa25
Parameterized and literal support for integer, real and boolean parsers. Fix for
...
lazy parser and handles_container<>. Added docs for as<T> (docs for Qi only).
[SVN r67553]
2011-01-01 22:22:56 +00:00
Bryce Adelstein-Lelbach
eac6e38159
Reorganized Spirit tests, broke down larger tests so they won't time out on
...
ICC.
[SVN r67494]
2010-12-29 21:17:01 +00:00