IEEE 754
IEEE 754 is an international standard specifying floating-point formats, arithmetic operations, rounding rules, and exceptional values.
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.
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
- Geometry for Programmers
- Clojure: The Essential Reference
- Learn Go with Pocket-Sized Projects
- Rust in Action: Systems programming concepts and techniques
- Math for Web Design
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
Related concepts
- JavaScriptused by · JavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- FP32implemented by · FP32 is a 32-bit single-precision floating-point format for representing approximate real numbers.
- float64implemented by · Float64 is a 64-bit floating-point numeric type, commonly represented by the IEEE 754 binary64 format.
- floating-point arithmeticused by · Floating-point arithmetic is numerical computation using finite-precision representations of real numbers, which can introduce rounding and range errors.
- 64-bit floating-point numberconfigures · A 64-bit floating-point number is a numeric value represented using the IEEE 754 binary64 format, which occupies 64 bits.
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.

