about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-12-22 02:50:57 +0800
committerGitHub <noreply@github.com>2017-12-22 02:50:57 +0800
commitb60e6f82855d387c0ad98179c33e6c019e8a7d26 (patch)
tree0f1f55dec1349f8a450bb83f442207695ea70b6a /src/rustllvm/RustWrapper.cpp
parent8acc406cf619f4aa2db4bbf1158f1090ff4278fe (diff)
parent9d6bd0536aed290f4fe80b42820fcf2463d2f8b3 (diff)
downloadrust-b60e6f82855d387c0ad98179c33e6c019e8a7d26.tar.gz
rust-b60e6f82855d387c0ad98179c33e6c019e8a7d26.zip
Rollup merge of #46898 - tspiteri:int-overflow-not-underflow, r=steveklabnik
docs: do not call integer overflows as underflows

In the API docs, integer overflow is sometimes called underflow. Underflow is really when the magnitude of a floating-point number is too small so the number underflows to subnormal or zero. With integers it is always overflow, even if the expected result is less than the minimum number that can be represented.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions