News for hackers. Stuff that matters.
Re:Modern Computer Architecture and Organization: Learn x86,... by gcr on Wednesday August 23, 2023 @09:05AM (#37235239)
i think i can see the nitpick here: pi and e aren't representable as rational numbers, and aren't representable exactly in IEEE754
Re:Modern Computer Architecture and Organization: Learn x86,... by vcxy on Wednesday August 23, 2023 @09:19AM (#37235431)
I wouldn't say it's a nitpick. Rationals are fractions of integers, not just any fractions at all. Rationals are _examples_ of reals, but it's bad pedagogy to say "fractions, which are called reals" because it sounds like the authors are giving a definition of reals. While they technically did not say this was a definition, it is sloppy.
Re:Modern Computer Architecture and Organization: Learn x86,... by Keysh on Wednesday August 23, 2023 @11:07AM (#37237207)
Fractions = rational numbers, which are an infinitely small subset of the real numbers. The rest of the reals are irrational numbers, of which pi and e are examples.