about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2019-04-17 15:28:57 +0200
committerTobias Rapp <t.rapp@noa-archive.com>2019-04-25 17:04:11 +0200
commit8234ac32bd9002a02d7c70a989a04c2278acf78d (patch)
tree2f08c996d1462af6aba59cba65aa96eed0190477 /src/libstd/sys/unix/stack_overflow.rs
parent3bee49f42b6dfb039d2a8e59e5181e26531c3c11 (diff)
downloadrust-8234ac32bd9002a02d7c70a989a04c2278acf78d.tar.gz
rust-8234ac32bd9002a02d7c70a989a04c2278acf78d.zip
Add saturating_abs() and saturating_neg() functions to signed integer types
Similar to wrapping_abs() / wrapping_neg() functions but saturating at
the numeric bounds instead of wrapping around. Complements the existing
set of functions with saturation mechanics.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions