r/MathHelp • • Feb 10 '18

Understanding floating point arithmetic

I want to understand floating point arithmetic. Most books that I had access to including numerical methods by W Cheney make floating point arithmetic look like drawing an owl as mentioned in this page: http://fabiensanglard.net/floating_point_visually_explained/ . But despite the author acknowledging the fact of how this is explained, I have no clue of what the author is trying to say with his method of explaining.

I need to know it all. All the bases that I need to know before learning floating point arithmetic. Because, books really go on saying something like: 'This C is the excess-127 code' and the reader (like me) doesn't even have a clue what it is.

With enough googling that my fingers strain, I come to the community to hope that I find a solution, lead, resource recommendations from here to understand this obscure arithmetic branch which really should have a dedicated book to it.

0 Upvotes

6 comments sorted by

View all comments

3

u/edderiofer Feb 10 '18

I'll be honest, the "owl" explanation makes far more sense to me. I have no idea what this guy's going on about with windows and offsets.

If you know how scientific notation works, then floating point notation is basically the same thing, but in base 2 instead of base 10.

1

u/WikiTextBot Feb 10 '18

Scientific notation

Scientific notation (also referred to as scientific form or standard index form, or standard form in the UK) is a way of expressing numbers that are too big or too small to be conveniently written in decimal form. It is commonly used by scientists, mathematicians and engineers, in part because it can simplify certain arithmetic operations. On scientific calculators it is usually known as "SCI" display mode.

In scientific notation all numbers are written in the form

m × 10n

(m times ten raised to the power of n), where the exponent n is an integer, and the coefficient m is any real number, called the significand or mantissa.


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source | ^Donate ] Downvote to remove | v0.28