diff options
| author | bors <bors@rust-lang.org> | 2019-04-25 17:26:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-25 17:26:20 +0000 |
| commit | c32171bd5efedd58fd471c21802e23005c2918fc (patch) | |
| tree | c792b35572465de3c7edb85f7faf73a7f9ce1567 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | bd31c392f286d61caac0babee68c900cdaa8b504 (diff) | |
| parent | c7d47c8cf4cd4db4226a38884a2d5fad371d9330 (diff) | |
| download | rust-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
