liveBook · Manning

IEEE 754

IEEE 754 is an international standard specifying floating-point formats, arithmetic operations, rounding rules, and exceptional values.

How 2 Manning books explain it

JavaScript in Depth

The 2019 revision of the IEEE standard that specifies floating-point arithmetic formats and operations.

How it is used
Explains JavaScript Number’s representation and surprising results in decimal arithmetic and large-integer counting.
How deep it goes
Works through bit layout and binary addition, while leaving the full IEEE 754 standard outside its scope.
Examples
Traces `0.1 + 0.2`, binary significands, tolerance functions, and large adjacent integer literals.
What you can do after
Diagnose/debug floating-point equality surprises and recognize when Number cannot reliably distinguish large integers.

Read how JavaScript in Depth explains IEEE 754 →

100 Go Mistakes and How to Avoid Them

IEEE-754 is the standard defining representations and arithmetic behavior for floating-point numbers.

How it is used
Explains surprising Go floating-point results and guides safer comparisons.
How deep it goes
Descends to sign, exponent, mantissa, and accumulation effects, but stops short of explaining conversion mechanics.
Examples
Uses multiplication, repeated addition, tolerance comparisons, special values, and distributive-law calculations.
What you can do after
Diagnose precision surprises, choose tolerance-based comparisons, and recognize special floating-point results.

Read how 100 Go Mistakes and How to Avoid Them explains IEEE 754 →

Also covered in

What to know first

Related concepts

Questions about IEEE 754

What is IEEE 754?

IEEE 754 is an international standard specifying floating-point formats, arithmetic operations, rounding rules, and exceptional values.

Which Manning books explain IEEE 754?

JavaScript in Depth and 100 Go Mistakes and How to Avoid Them.

What should I know before learning IEEE 754?

Manning books that teach IEEE 754 usually introduce JavaScript first.

What are the parts of IEEE 754?

IEEE 754 includes binary32.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.