2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

Adding proposed fix, with tests, resolves #792 (#793)

Co-authored-by: Nana Sakisaka <1901813+saki7@users.noreply.github.com>
This commit is contained in:
sigbjorn
2025-05-09 09:43:41 +02:00
committed by GitHub
parent 0452c7b2c5
commit e6fbdf615b
2 changed files with 24 additions and 2 deletions

View File

@@ -198,6 +198,16 @@ int main()
));
}
// test for #792: off by a magnitude due to fraction_part
// notice that it applies to all forms of fractions
// that end with a sequence of 0.009999
{
BOOST_TEST(test("1.09e-06",
double_,
1.09e-06
));
}
return boost::report_errors();
}