diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-02-19 12:32:27 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-03-03 12:10:19 +0100 |
| commit | 6d6038a1944394fc5e64048aea6fdbad4f59ee15 (patch) | |
| tree | 4c5146bd5e517dcdb86d2a4939734a3c7b3eda72 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 280dea743b5227d0d162217cbb89db881242c94e (diff) | |
| download | rust-6d6038a1944394fc5e64048aea6fdbad4f59ee15.tar.gz rust-6d6038a1944394fc5e64048aea6fdbad4f59ee15.zip | |
Added `OverflowingOps` trait to core::num::wrapping.
These return the result of the operation *plus* an overflow/underflow bit. This can make it easier to write operations where you want to chain some arithmetic together, but also want to return a flag signalling if overflow every occurred.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
