about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-25 17:26:20 +0000
committerbors <bors@rust-lang.org>2019-04-25 17:26:20 +0000
commitc32171bd5efedd58fd471c21802e23005c2918fc (patch)
treec792b35572465de3c7edb85f7faf73a7f9ce1567 /src/libstd/sys/unix/stack_overflow.rs
parentbd31c392f286d61caac0babee68c900cdaa8b504 (diff)
parentc7d47c8cf4cd4db4226a38884a2d5fad371d9330 (diff)
downloadrust-c32171bd5efedd58fd471c21802e23005c2918fc.tar.gz
rust-c32171bd5efedd58fd471c21802e23005c2918fc.zip
Auto merge of #60192 - t-rapp:tr-saturating-funcs, r=alexcrichton
Implement saturating_abs() and saturating_neg() functions for 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.

cc #59983
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions