about summary refs log tree commit diff
path: root/src/etc/test-float-parse/runtests.py
AgeCommit message (Collapse)AuthorLines
2024-07-20Rewrite `test-float-parse` in RustTrevor Gross-394/+0
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-06-22Update runtests.py : grammar correctionPreveen P-1/+1
2023-06-16Apply changes to fix python linting errorsTrevor Gross-0/+0
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-17/+20
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
2020-07-31Run all tests if have no specified testsLzu Tao-3/+5
2020-07-29Avoid bool-like namingLzu Tao-3/+2
2020-07-10Avoid "whitelist"Tamir Duberstein-5/+3
Other terms are more inclusive and precise.
2020-04-10Enforce Python 3 as much as possibleGuillaume Gomez-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-02-10fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}}Matthias Krüger-1/+1
2017-12-02Use more convenient and UNIX-agnostic shebangSébastien Santoro-1/+1
When using bash-specific features, scripts using env to call bash are more convenient, as bash be installed in different places according the OS. Same applies for other languages' interpreters.
2017-11-16fix some python3 incompatibilitiesCollin Anderson-1/+5
2016-09-17Remove unused codeEitan Adler-2/+0
2016-02-04drive-by doc fixesRobin Kruppe-5/+6
2015-10-08typos: fix a grabbag of typos all over the placeCristi Cobzarenco-1/+1
2015-08-09Add optional, external tests for floating point parsing.Robin Kruppe-0/+399
Running these tests takes hours, so they are not run by @bors.