diff options
| author | Alex Huszagh <ahuszagh@gmail.com> | 2021-07-17 00:30:34 -0500 |
|---|---|---|
| committer | Alex Huszagh <ahuszagh@gmail.com> | 2021-07-17 00:30:34 -0500 |
| commit | 8752b403695a8830913571f0fd5ebfcf1483db37 (patch) | |
| tree | fba1ac7613edb617bee5b257b21bd6d10dad0662 /src/test/ui/issues | |
| parent | d2b04f075c0ce010758c4c8674152ff89d1d73f3 (diff) | |
| download | rust-8752b403695a8830913571f0fd5ebfcf1483db37.tar.gz rust-8752b403695a8830913571f0fd5ebfcf1483db37.zip | |
Changed dec2flt to use the Eisel-Lemire algorithm.
Implementation is based off fast-float-rust, with a few notable changes. - Some unsafe methods have been removed. - Safe methods with inherently unsafe functionality have been removed. - All unsafe functionality is documented and provably safe. - Extensive documentation has been added for simpler maintenance. - Inline annotations on internal routines has been removed. - Fixed Python errors in src/etc/test-float-parse/runtests.py. - Updated test-float-parse to be a library, to avoid missing rand dependency. - Added regression tests for #31109 and #31407 in core tests. - Added regression tests for #31109 and #31407 in ui tests. - Use the existing slice primitive to simplify shared dec2flt methods - Remove Miri ignores from dec2flt, due to faster parsing times. - resolves #85198 - resolves #85214 - resolves #85234 - fixes #31407 - fixes #31109 - fixes #53015 - resolves #68396 - closes https://github.com/aldanor/fast-float-rust/issues/15
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-31109.rs | 6 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-31109.stderr | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/issues/issue-31109.rs b/src/test/ui/issues/issue-31109.rs deleted file mode 100644 index 37c23905819..00000000000 --- a/src/test/ui/issues/issue-31109.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn main() { - // FIXME(#31407) this error should go away, but in the meantime we test that it - // is accompanied by a somewhat useful error message. - let _: f64 = 1234567890123456789012345678901234567890e-340; - //~^ ERROR could not evaluate float literal (see issue #31407) -} diff --git a/src/test/ui/issues/issue-31109.stderr b/src/test/ui/issues/issue-31109.stderr deleted file mode 100644 index d354f61a501..00000000000 --- a/src/test/ui/issues/issue-31109.stderr +++ /dev/null @@ -1,8 +0,0 @@ -error: could not evaluate float literal (see issue #31407) - --> $DIR/issue-31109.rs:4:18 - | -LL | let _: f64 = 1234567890123456789012345678901234567890e-340; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to previous error - |
