diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-07-20 11:04:47 -0500 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-07-20 11:39:34 -0500 |
| commit | 59429e67f91e9db38ea2dca8f2a99ec42aea68d7 (patch) | |
| tree | 2dd41d8672abf3ee0fd0cdcfc2d2debeb21f04bc /Cargo.toml | |
| parent | 2e6fc425411280c658d852813de01c5157255088 (diff) | |
| download | rust-59429e67f91e9db38ea2dca8f2a99ec42aea68d7.tar.gz rust-59429e67f91e9db38ea2dca8f2a99ec42aea68d7.zip | |
Rewrite `test-float-parse` in Rust
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.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions
