about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-19 15:16:50 +0100
committerGitHub <noreply@github.com>2019-03-19 15:16:50 +0100
commit5abd9c7d15d5e3a82a4bfc978ea7618bba1b9e12 (patch)
tree70b61f1a4d599c2f11ee28357885f84fbc4f9e20 /src/test/ui/thinlto
parentfff8586193ea9ee75078aebb57205943e4312691 (diff)
parentc5fe4055a90d0dac5dc80178d58148c042c5de2b (diff)
downloadrust-5abd9c7d15d5e3a82a4bfc978ea7618bba1b9e12.tar.gz
rust-5abd9c7d15d5e3a82a4bfc978ea7618bba1b9e12.zip
Rollup merge of #58812 - jonhoo:floor_v_trunc, r=alexcrichton
Clarify distinction between floor() and trunc()

`floor()` rounds towards `-INF`, `trunc()` rounds towards 0.
This PR clarifies this in the examples.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions