about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>2018-05-16 14:46:37 +0200
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>2018-05-16 14:46:37 +0200
commit2a28ac31e9abe0a01861bfffed85872431cc6b72 (patch)
treed652d7cf0dc36ccaf103b99b14b5c908097d3684 /src/rustllvm/RustWrapper.cpp
parent9eeb13fdd1c10de7f489e7fc910686c6d492398e (diff)
downloadrust-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