David Tolnay
c4be25da77
Change test suite atomic from SeqCst to Relaxed
...
These atomics are not synchronizing anything outside of their own value,
so we don't need the Acquire/Release guarantee that all memory
operations prior to the store are visible after the subsequent load, nor
the SeqCst guarantee of all threads seeing all of the sequentially
consistent operations in the same order.
2021-12-23 10:59:07 -08:00
David Tolnay
d111b85176
Raise clippy lints up to 1.36 compatibility
2021-12-10 23:20:39 -08:00
David Tolnay
0b31fb8319
Add coverage of --features=small on stable/beta/nightly
2021-12-10 18:34:40 -08:00
David Tolnay
5c4342d293
Run clippy on test suite too
2021-09-30 02:58:39 -04:00
David Tolnay
aee449e027
Sync to ulfjack/ryu@abf76d2
2020-10-01 23:11:50 -07:00
David Tolnay
4df292fe32
Sync to ulfjack/ryu@5fcc341
2020-10-01 23:11:50 -07:00
David Tolnay
ef5a29ea40
Sync to ulfjack/ryu@264eb84
2020-10-01 23:11:50 -07:00
David Tolnay
fe33664edc
Sync to ulfjack/ryu@0885826
2020-10-01 23:11:50 -07:00
David Tolnay
bdf3b50bf3
Sync to ulfjack/ryu@1c413e1
2020-05-30 20:55:32 -07:00
David Tolnay
a220c31e22
Move parse error enum to new module
2020-05-30 20:19:23 -07:00
David Tolnay
51141482b9
Require d2s full tables for s2d
2020-05-30 20:15:39 -07:00
David Tolnay
efe114da49
Only test table entries that upstream tests
2020-05-30 19:40:01 -07:00
David Tolnay
f67e24d882
Sync to ulfjack/ryu@27d3c55
2020-05-30 19:15:05 -07:00
David Tolnay
2fb014764f
Sync to ulfjack/ryu@d4114ce
2020-05-30 19:01:31 -07:00
David Tolnay
1e786b09c3
Move unit tests out of src dir
2020-05-30 16:02:40 -07:00
David Tolnay
6dcd0fdbe2
Fill in some diacritics
2020-05-29 22:16:11 -07:00
David Tolnay
2cfbf40a86
Remove use of 'extern crate'
2020-05-29 21:49:21 -07:00
David Tolnay
d7f4a1f6b7
Show skipped tests as ignored in miri output
2020-04-23 03:11:18 -07:00
David Tolnay
7f27d83c0f
Omit long-running tests from miri
2020-04-22 17:34:13 -07:00
David Tolnay
a9b0e6f49d
Sync to ulfjack/ryu@0c96fa1
2019-06-11 12:01:13 -07:00
David Tolnay
f69ee93c5f
Split format and format_finite
2019-06-11 11:43:22 -07:00
David Tolnay
7a4eb56cc2
Concise name for raw functions
2019-06-10 23:35:56 -07:00
David Tolnay
a8d37248de
Remove non-pretty implementation
...
The pretty version is not slower; nobody seems eager to use the one that
matches C exactly so we don't need to keep it.
2019-06-10 23:35:55 -07:00
David Tolnay
49d95ca072
Format with rustfmt 2019-04-24
2019-05-01 17:32:37 -07:00
David Tolnay
dc333850c9
Sync to ulfjack/ryu@66ba132
2018-10-06 17:33:42 -07:00
David Tolnay
53b8294c47
Sync to ulfjack/ryu@a764180
2018-08-20 02:46:53 -04:00
David Tolnay
cb4e431690
Cut down number of digits printed without exponential notation
2018-08-07 11:25:20 -07:00
David Tolnay
a8fff0f7f3
Sync to ulfjack/ryu@2936e61
2018-08-07 09:55:43 -07:00
David Tolnay
2879ae54c5
Test that inf and nan cases do not overflow
2018-08-05 14:09:46 -07:00
David Tolnay
3fb3cb9203
Handle the same special cases as upstream
2018-08-05 13:57:04 -07:00
David Tolnay
636aeebc33
Move unsafe functions out of crate root
2018-08-05 12:41:34 -07:00
David Tolnay
047902cc29
Preserve error messages in exhaustive test
2018-08-05 10:33:35 -07:00
David Tolnay
ea13cb6e68
Fix pretty negative small f32
2018-08-05 10:29:26 -07:00
David Tolnay
849228e22d
Parallelize exhaustive f32 test
2018-08-04 21:40:36 -07:00
David Tolnay
9c2af57659
Rename test files to match upstream
2018-08-04 21:08:14 -07:00
David Tolnay
f69dbd2edb
Feature to optimize for binary size
2018-08-04 20:54:29 -07:00
David Tolnay
5c26a5ada4
More concise tests
2018-08-04 16:25:48 -07:00
David Tolnay
ffca3ce524
Tests of pretty buffer
2018-08-04 02:17:22 -07:00
David Tolnay
a4c591028d
Test pretty
2018-08-04 01:42:39 -07:00
David Tolnay
fb203f6b54
Format with rustfmt 0.9.0
2018-08-02 21:25:25 -07:00
David Tolnay
6cb9f296fc
Port upstream test suite
2018-08-02 10:33:40 -07:00
David Tolnay
c19153dc9e
Add f2s tests
2018-07-28 21:49:25 -07:00
David Tolnay
42d23c8849
Add random testing
2018-07-28 18:48:03 -07:00
David Tolnay
2e741f4b2a
Ryu ported to Rust
2018-07-28 17:58:20 -07:00