• Home
  • Raw
  • Download

Lines Matching +full:style +full:- +full:mod

1 …hub]](https://github.com/dtolnay/ryu) [![crates-io]](https://crates.io/crates/ryu) [![do…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
12 //! The PLDI'18 paper [*Ryū: fast float-to-string conversion*][paper] by Ulf
14 //! available under the creative commons CC-BY-SA license.
16 //! This Rust implementation is a line-by-line port of Ulf Adams' implementation
39 //! $ git clone https://github.com/ulfjack/ryu c-ryu
40 //! $ cd c-ryu
41 //! $ bazel run -c opt //ryu/benchmark
47 //! $ git clone https://github.com/dtolnay/ryu rust-ryu
48 //! $ cd rust-ryu
49 //! $ cargo run --example upstream_benchmark --release
52 //! These benchmarks measure the average time to print a 32-bit float and average
53 //! time to print a 64-bit float, where the inputs are distributed as uniform random
57 //! all perform the same, taking around 21 nanoseconds to format a 32-bit float and
58 //! 31 nanoseconds to format a 64-bit float.
60 //! There is also a Rust-specific benchmark comparing this implementation to the
67 //! The benchmark shows Ryū approximately 2-5x faster than the standard library
73 //! This library tends to produce more human-readable output than the standard
77 //! - *ryu:* 1.23e40, *std:* 12300000000000000000000000000000000000000
78 //! - *ryu:* 1.23e-40, *std:* 0.000000000000000000000000000000000000000123
106 mod buffer;
107 mod common;
108 mod d2s;
110 mod d2s_full_table;
111 mod d2s_intrinsics;
113 mod d2s_small_table;
114 mod digit_table;
115 mod f2s;
116 mod f2s_intrinsics;
117 mod pretty;
125 pub mod raw {