← Back to catalogue
Published

floating-point number

vr.tr.floating-point-number · thing-floating-point-number

Let an agent explain floating-point numbers, formats, precision and rounding, with references to IEEE 754.

Thing Registry Cross-cutting context XCT.QTY

Bundle → Layer → Finding → Questions Filled

4 bundles · 8 layers · 8 findings · 16 questions

Format Which format.

Format

Name.

Format

Name and bits.

  1. Which format? provenance
  2. How many bits? measurement

Parameters

Precision and range.

Parameters

Values.

  1. What precision and exponent range? measurement
  2. Per IEEE 754? provenance
Value A number.

Representation

Bits.

Encoding

Sign, exponent, significand.

  1. How is the value encoded? provenance
  2. Is it exact? boundary

Special values

NaN and infinities.

Special value

Type.

  1. Is it a special value? boundary
  2. Which one? provenance
Arithmetic Operations.

Rounding

Mode.

Rounding mode

Mode.

  1. Which rounding mode? provenance
  2. Default round-to-nearest-even? provenance

Error

Accuracy.

Error bound

Value.

  1. What is the error bound? measurement
  2. In ulps? measurement
Use Applications.

Suitability

Use case.

Suitability

Assessment.

  1. Is floating point suitable here? boundary
  2. Why? definition

Language support

Types.

Language type

Type name.

  1. Which type in the language? provenance
  2. Per which language standard? provenance

Classifiers Filled

Family
Thing Registry
Category
Cross-cutting context
Entry kind
noun.quantity
Plane
XCT
Domain
XCT.QTY
Facets: substance
abstract
Facets: origin
conceptual
Facets: agency
inert
Facets: mobility
not-applicable
Facets: scale
not-applicable
Facets: affordances
observable

What it is Filled

A number represented in floating-point notation, as a significand (mantissa) scaled by a base raised to an exponent, such as 1.5 x 10^3; in computing, floating-point numbers follow formats like IEEE 754 binary32 and binary64, which approximate real numbers with limited precision.

Why it exists Filled

Let an agent explain floating-point numbers, formats, precision and rounding, with references to IEEE 754.

Distinguishing features Filled

  • binary64 (double) has a 53-bit significand: 15 decimal digits survive a decimal-binary-decimal round trip, and 17 suffice to preserve any binary64 value.
  • Special values include +0, -0, infinities, NaN and subnormals, which give gradual underflow with reduced precision.
  • Many decimal fractions, such as 0.1, have no exact binary representation.

What robots and AI may and may not do Filled

Must not

  • recommend binary floating point for exact money amounts without caveats

May

  • explain formats and pitfalls

Moral aspects Filled

  • accuracy in safety-critical computation

Who is affected

  • users of numerical software

Owners Filled

Steward

nobody; IEEE maintains the IEEE 754 standard

Links to other meta-models Filled

parent

  • oewn-13603216-n - registry parent class

related

  • number representation - computing
  • IEEE 754 - widely used formats; not every format, such as bfloat16
  • fixed-point number - representation
  • scientific notation - notation

What else AI and robots need to interact with it Filled

Identity and identifiers required Filled

  • Vercy registry: vr.tr.floating-point-number
  • Open English WordNet: oewn-13619256-n

Direct properties not applicable Not applicable

Not applicable

A number representation has no physical properties.

Recognition optional Filled

  • Notation such as 6.02e23 suggests scientific notation; the declared type and format establish whether a value is stored as floating point

Capabilities and actions required Filled

  • explain representation and formats
  • explain precision, rounding and special values
  • explain common pitfalls such as 0.1 + 0.2
  • point to standards

Hazards and failure modes required Filled

  • Rounding errors in financial calculations
  • Catastrophic cancellation
  • Overflow, underflow and non-associative arithmetic
  • Comparing floats for exact equality

Standards and interfaces required Filled

  • IEEE 754-2019 (ISO/IEC 60559:2020) floating-point arithmetic

Context of use required Filled

  • Representing a wide range of real numbers in computation.
  • binary16 (half)
  • binary32 (single)
  • binary64 (double)
  • binary128 (quadruple)
  • decimal floating point (decimal64, decimal128)
  • bfloat16 and other machine learning formats

Sources Filled

  1. Floating-point arithmetic - representation and formats
  2. ISO/IEC 60559:2020 - Floating-Point arithmetic - Standard identifier, publication year, binary and decimal formats, arithmetic and exceptions.
  3. Floating Point - Representation, binary formats, special values and bfloat16.
  4. Stochastic rounding: implementation, error analysis and applications - Format precision, subnormal ranges, rounding and the distinction between IEEE formats and bfloat16.
  5. Differences Among IEEE 754 Implementations - Precision, decimal conversion and implementation-dependent evaluation pitfalls.

Open questions

—

Machine files

Provenance

thing registry research (pass 2) · unreviewed

Built from: models/things/publications/thing-floating-point-number/spec.json