IEEE-754 Analysis and Conversions

You must have JavaScript enabled to do anything with this web page.

Instructions

This page lets you examine the relationships among binary and decimal values and the three basic binary floating-point formats specified by the IEEE-754-2019 standard: binary32 (single-precision), binary64 (double-precision), and binary128 (quad-precision). The IEEE-754-2019 standard also specifies other representations for floating-point values that are not covered here, but the three basic binary formats match the data types for real numbers supported by most programming languages.

You can create multiple analyzer-converters so you can compare multiple values at the same time. Adding an analyzer will automatically hide these instructions. You can always toggle these instructions on/off using the Hide/Show Instructions button at the top of the page.

Each analyzer-converter accepts a numeric value in entered in any one of five formats, and shows five corresponding values (Decimal, Normalized Binary, binary32, binary64, and binary128. Each binary floating-point is accompanied by an analysis of its field values.

Input Formats

Keyboard Shortcuts

Keyboard shortcuts are under development. The following are available now:

The Esc key shows/hides these instructions. The Q key shows the FAQ. The Y key adds an analyzer.

Analyzer 1 supports the following keyboard shortcuts for selecting input elements.
Use the Ctrl key when typing:

Analyzer 1

Input Format
Rounding Mode
Value to analyze:

Syntax Entered: none

Decimal value: 0

Normalized binary value: 0

Binary32: --

Status Sign [1] Exponent [8] Significand [23]
--- - (-) -- (--) -- (--)

Binary64: --

Status Sign [1] Exponent [11] Significand [52]
--- - (-) -- (--) -- (--)

Binary128: --

Status Sign [1] Exponent [15] Significand [112]
--- - (-) -- (--) -- (--)