diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2015-07-26 17:50:29 +0200 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2015-08-08 17:15:31 +0200 |
| commit | ba792a4baa856d83c3001afa181db91c5b4c9732 (patch) | |
| tree | 7d2096c3a3aed1829069b5e21d90e74e03da578c /src/libcoretest/lib.rs | |
| parent | b7e39a1c2dd24fd4110c22c70cad254365b0ffd3 (diff) | |
| download | rust-ba792a4baa856d83c3001afa181db91c5b4c9732.tar.gz rust-ba792a4baa856d83c3001afa181db91c5b4c9732.zip | |
Accurate decimal-to-float parsing routines.
This commit primarily adds implementations of the algorithms from William Clinger's paper "How to Read Floating Point Numbers Accurately". It also includes a lot of infrastructure necessary for those algorithms, and some unit tests. Since these algorithms reject a few (extreme) inputs that were previously accepted, this could be seen as a [breaking-change]
Diffstat (limited to 'src/libcoretest/lib.rs')
| -rw-r--r-- | src/libcoretest/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcoretest/lib.rs b/src/libcoretest/lib.rs index 08536e63204..4262be83361 100644 --- a/src/libcoretest/lib.rs +++ b/src/libcoretest/lib.rs @@ -19,6 +19,7 @@ #![feature(float_extras)] #![feature(float_from_str_radix)] #![feature(flt2dec)] +#![feature(dec2flt)] #![feature(fmt_radix)] #![feature(hash_default)] #![feature(hasher_write)] |
