Count in octal: Difference between revisions
Content added Content deleted
(→{{header|Rust}}: Update to current Rust 0.9-pre syntax) |
|||
Line 1,137: | Line 1,137: | ||
=={{header|Rust}}== |
=={{header|Rust}}== |
||
<lang Rust> |
<lang Rust>// rust 0.9-pre |
||
use std::uint; |
|||
fn main() { |
fn main() { |
||
for i in range(uint::min_value, uint::max_value) { |
|||
println!("{:o}", i); |
|||
} |
|||
⚫ | |||
} |
|||
⚫ | |||
Please note: on x86_64 uint::max_value currently equals to 2^64-1 (or 18446744073709551615) |
Please note: on x86_64 uint::max_value currently equals to 2^64-1 (or 18446744073709551615) |
||