about summary refs log tree commit diff
path: root/src/etc/test-float-parse/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-06-03move `test-float-parse` tool into `src/tools` dironur-ozkan-22/+0
Obviously `test-float-parse` is a tool like any other in `src/tools`. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-18float: Add `f16` to `test-float-parse`Trevor Gross-0/+7
This requires a fix to the subnormal test to cap the maximum allowed value within the maximum mantissa.
2025-04-01Move test-float-parse to the 2024 editionbjorn3-1/+1
2025-03-10Update rand to 0.9.0Chris Denton-2/+2
2024-07-20Rewrite `test-float-parse` in RustTrevor Gross-4/+5
The existing implementation uses Python to launch a set of Rust-written binaries. Unfortunately, this is currently broken; it seems that some updates meant it no longer compiles. There is also a problem that support for more float types (`f16`, `f128`) would be difficult to add since this is very specialized to `f32` and `f64`. Because of these sortcomings, migrate to a version written in Rust. This version should be significantly faster; test generators can execute in parallel, and test cases are chunked and parallelized. This should also resolve the preexisting "... the worker processes are leaked and stick around forever" comment. This change also introduces genericism over float types and properties, meaning it will be much easier to extend support to newly added types. `num::BigRational` is used in place of Python's fractions for infinite-precision calculations.
2023-10-10Update rand dependency for test-float-parsebjorn3-1/+1
This removes a dependency on fuchsia-cprng which doesn't have any license info.
2023-05-31Explicit set `workspace.resolver = "1"`Weihang Lo-0/+1
rust-lang/cargo#10910 starts emitting warning if resolver is not set for 2021 edition package. We want to surpress the warning for now.
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-0/+13
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