diff options
| author | Lukas Kalbertodt <lukas.kalbertodt@gmail.com> | 2018-05-16 14:46:37 +0200 |
|---|---|---|
| committer | Lukas Kalbertodt <lukas.kalbertodt@gmail.com> | 2018-05-16 14:46:37 +0200 |
| commit | 2a28ac31e9abe0a01861bfffed85872431cc6b72 (patch) | |
| tree | d652d7cf0dc36ccaf103b99b14b5c908097d3684 /src/rustllvm/RustWrapper.cpp | |
| parent | 9eeb13fdd1c10de7f489e7fc910686c6d492398e (diff) | |
| download | rust-2a28ac31e9abe0a01861bfffed85872431cc6b72.tar.gz rust-2a28ac31e9abe0a01861bfffed85872431cc6b72.zip | |
Implement rounding for `Duration`s Debug output
Rounding is done like for printing floating point numbers. If the first digit which isn't printed (due to the precision parameter) is larger than '4', the number is rounded up.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
