diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-07-10 22:56:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-10 22:56:40 +0200 |
| commit | f7c2efddc78086dc81f3ff86641c63318bf072c0 (patch) | |
| tree | de5c130aeaf6e73c584ebbbe926b47bb944c2288 /src/libcore | |
| parent | 115447a65dd421728d02478b9132d4a2ac3578c0 (diff) | |
| parent | 26615b8f20432c2332a8ca93b18301872870dd01 (diff) | |
| download | rust-f7c2efddc78086dc81f3ff86641c63318bf072c0.tar.gz rust-f7c2efddc78086dc81f3ff86641c63318bf072c0.zip | |
Rollup merge of #52151 - GuillaumeGomez:trait-impl-settings, r=QuietMisdreavus
Trait impl settings Fixes #51797. r? @QuietMisdreavus PS: I was annoyed by some intra link failures so I fixed them as well.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/flt2dec/strategy/dragon.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/flt2dec/strategy/grisu.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/num/flt2dec/strategy/dragon.rs b/src/libcore/num/flt2dec/strategy/dragon.rs index 6aa4f297e75..9c9e531c593 100644 --- a/src/libcore/num/flt2dec/strategy/dragon.rs +++ b/src/libcore/num/flt2dec/strategy/dragon.rs @@ -9,9 +9,9 @@ // except according to those terms. /*! -Almost direct (but slightly optimized) Rust translation of Figure 3 of [1]. +Almost direct (but slightly optimized) Rust translation of Figure 3 of \[1\]. -[1] Burger, R. G. and Dybvig, R. K. 1996. Printing floating-point numbers +\[1\] Burger, R. G. and Dybvig, R. K. 1996. Printing floating-point numbers quickly and accurately. SIGPLAN Not. 31, 5 (May. 1996), 108-116. */ diff --git a/src/libcore/num/flt2dec/strategy/grisu.rs b/src/libcore/num/flt2dec/strategy/grisu.rs index cf70a1978f5..5c023a191db 100644 --- a/src/libcore/num/flt2dec/strategy/grisu.rs +++ b/src/libcore/num/flt2dec/strategy/grisu.rs @@ -9,10 +9,10 @@ // except according to those terms. /*! -Rust adaptation of Grisu3 algorithm described in [1]. It uses about +Rust adaptation of Grisu3 algorithm described in \[1\]. It uses about 1KB of precomputed table, and in turn, it's very quick for most inputs. -[1] Florian Loitsch. 2010. Printing floating-point numbers quickly and +\[1\] Florian Loitsch. 2010. Printing floating-point numbers quickly and accurately with integers. SIGPLAN Not. 45, 6 (June 2010), 233-243. */ |
