diff options
| author | David Creswick <dcrewi@gyrae.net> | 2013-09-09 11:15:03 -0500 |
|---|---|---|
| committer | David Creswick <dcrewi@gyrae.net> | 2013-09-09 11:15:03 -0500 |
| commit | 9bee3d7e5b1ca7269d008c8df39c3683345bdb3d (patch) | |
| tree | 31a1a1f3d649c7229424da29945512713637189e /src/rustllvm/RustWrapper.cpp | |
| parent | dfb04d9953f640301c80cbe910b91ca9c92af55a (diff) | |
| download | rust-9bee3d7e5b1ca7269d008c8df39c3683345bdb3d.tar.gz rust-9bee3d7e5b1ca7269d008c8df39c3683345bdb3d.zip | |
Convert between BigInts, BigUints, ints, and uints
Previously, conversion to ints, uints, and BigUints clamped the value within the range of that datatype. With this commit, conversion overflows fail the task. To handle overflows gracefully, use the new to_*_opt() methods.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
