learning-rust / learning-rust.github.io

Rust Programming Language Tutorials for Everyone!
https://learning-rust.github.io
MIT License
1.48k stars 165 forks source link

Primitive Data Types: reference to IEEE floating-point standard in integers section #32

Closed demin-dmitriy closed 5 years ago

demin-dmitriy commented 5 years ago

I'm confused

Does "IEEE standard for Binary Floating-Point Arithmetic" means IEEE 754? I think it doesn't specify integer numbers. It even says in section "2. Definitions, abbreviations, and acronyms ":

2.1.32 integer format: A format not defined in this standard that represents a subset of the integers and perhaps additional values representing infinities, NaNs, or negative zeros.

dumindu commented 5 years ago

Hi @demin-dmitriy, Thanks for reporting this. Looks like I misunderstood this in my early days of Rust, https://www.reddit.com/r/rust/comments/3p1vgg/ranges_for_integer_data_types/ . Will update in this weekend :)

PS. Sorry, Will update within this month.

dumindu commented 5 years ago

@demin-dmitriy Sorry for took more time to fix it. Thanks again for reporting this.