Commit Graph

70 Commits

Author SHA1 Message Date
David Tolnay eb1859bf3c Root level documentation 2018-08-07 10:22:48 -07:00
David Tolnay 25c7e8664e Document performance characteristics of Buffer::new 2018-08-07 10:03:22 -07:00
David Tolnay a8fff0f7f3 Sync to ulfjack/ryu@2936e61 2018-08-07 09:55:43 -07:00
David Tolnay 4738ed5acf Restrict benchmark to finite numbers 2018-08-05 16:15:39 -07:00
David Tolnay 09ccba2e1e Port benchmark 2018-08-05 16:07:16 -07:00
David Tolnay 17608a4c89 Lower level signature on the float methods 2018-08-05 15:13:52 -07:00
David Tolnay d6ee87d862 Explain pretty behavior on non-finite input 2018-08-05 15:09:46 -07:00
David Tolnay c0010545b3 Documentation comments 2018-08-05 14:41:22 -07:00
David Tolnay 2879ae54c5 Test that inf and nan cases do not overflow 2018-08-05 14:09:46 -07:00
David Tolnay 7006d04d57 Remove nan and inf cases from pretty 2018-08-05 13:57:04 -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 78ef45f901 Format with rustfmt 0.9.0 2018-08-04 21:40:48 -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 feeb48d927 Only set #[must_use] on sufficiently new rustc 2018-08-04 21:06:43 -07:00
David Tolnay f69dbd2edb Feature to optimize for binary size 2018-08-04 20:54:29 -07:00
David Tolnay fc1cb63524 Our dev-dependencies no longer support 1.15.0 2018-08-04 19:34:47 -07:00
David Tolnay b38743469e Test minimum supported version in Travis 2018-08-04 19:30:03 -07:00
David Tolnay 4e7eb8cc9e Remove pub(crate) to support rust 1.17.0 2018-08-04 19:27:34 -07:00
David Tolnay 9b3b59b6b7 No glob imports in groups to support rust 1.24.0 2018-08-04 19:24:43 -07:00
David Tolnay 419e07cb32 Optional u128 to support rust 1.25.0 2018-08-04 19:23:43 -07:00
David Tolnay bbafec70ae Remove f32::to_bits and f64::to_bits to support rust 1.26.0 2018-08-04 19:21:26 -07:00
David Tolnay 5c26a5ada4 More concise tests 2018-08-04 16:25:48 -07:00
David Tolnay 5abffb47df Restrict visibility of private helpers 2018-08-04 16:06:11 -07:00
David Tolnay 10f0b1725d More functions that can never panic 2018-08-04 16:01:37 -07:00
David Tolnay 1a39060255 Remove bounds check in pretty wrappers 2018-08-04 16:01:18 -07:00
David Tolnay 0737a0af68 Sync to ulfjack/ryu@87d807b 2018-08-04 11:45:59 -07:00
David Tolnay 169585733b Inline the buffer methods 2018-08-04 02:27:24 -07:00
David Tolnay ffca3ce524 Tests of pretty buffer 2018-08-04 02:17:22 -07:00
David Tolnay ef53abbec4 Buffer api 2018-08-04 02:17:18 -07:00
David Tolnay 1571d45d25 Add a safe interface 2018-08-04 02:07:54 -07:00
David Tolnay cd8fa5ac6c Sync to ulfjack/ryu@84de233 2018-08-04 01:54:57 -07:00
David Tolnay a4c591028d Test pretty 2018-08-04 01:42:39 -07:00
David Tolnay 8905d846b7 Pretty 2018-08-04 01:10:20 -07:00
David Tolnay 241efdeecc Feature to require proof of no panics 2018-08-03 23:25:33 -07:00
David Tolnay 90e53934b5 Eliminate possibility of panic in mul_pow5_div_pow2 2018-08-03 23:25:16 -07:00
David Tolnay 423761c52f Sync to ulfjack/ryu@8ea2961 2018-08-03 22:41:27 -07:00
David Tolnay 1bbb471afe Assert required size of buffer 2018-08-02 22:18:09 -07:00
David Tolnay 1e2d23b2c8 Sync to ulfjack/ryu@e55d383 2018-08-02 21:49:56 -07:00
David Tolnay fb203f6b54 Format with rustfmt 0.9.0 2018-08-02 21:25:25 -07:00
David Tolnay a4a4ea0852 Simplify start of d2d 2018-08-02 21:25:13 -07:00
David Tolnay 6cb9f296fc Port upstream test suite 2018-08-02 10:33:40 -07:00
David Tolnay b1d9e4949c Sync to ulfjack/ryu@03d044c 2018-08-02 09:43:20 -07:00
David Tolnay a8808a15bf Tuple indexing instead of array indexing 2018-07-31 11:27:57 -07:00
David Tolnay 5a8dc2081d Format with rustfmt 0.8.2 2018-07-30 23:50:05 -07:00
David Tolnay fbf41cee69 Ignore clippy lint on passing FloatingDecimal64 2018-07-30 23:49:54 -07:00
David Tolnay dac8b88e79 Sync to ulfjack/ryu@f37f0eb 2018-07-30 23:26:56 -07:00