rust/src/libcore/num
bors 412a07055c auto merge of #5769 : gifnksm/rust/range_step, r=bstrie
`uint::range_step` or `int::range_step` causes overflow or underflow as following.
code:
```rust
fn main() {
    for uint::range_step(3, 0, -2) |n| {
        println(fmt!("%u", n));
    }
}
```
output:
```
3
1
18446744073709551615
18446744073709551613
...
```
This commit fixes this behavior as follows.
```
3
1
```
2013-04-09 07:52:04 -07:00
..
int-template librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
uint-template librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
cmath.rs librustc: Remove the const declaration form everywhere 2013-03-22 22:24:35 -07:00
f32.rs libcore: from_str_common: provide option to ignore underscores. 2013-04-08 16:35:39 +10:00
f64.rs libcore: from_str_common: provide option to ignore underscores. 2013-04-08 16:35:39 +10:00
float.rs libcore: from_str_common: provide option to ignore underscores. 2013-04-08 16:35:39 +10:00
int-template.rs auto merge of #5769 : gifnksm/rust/range_step, r=bstrie 2013-04-09 07:52:04 -07:00
num.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
strconv.rs auto merge of #5787 : alexcrichton/rust/less-mut-fields, r=catamorphism 2013-04-08 18:36:57 -07:00
uint-template.rs auto merge of #5769 : gifnksm/rust/range_step, r=bstrie 2013-04-09 07:52:04 -07:00