← Back to catalogue
Published

half-precision floating-point format

vr.tr.half-precision-floating-point-format · thing-q1994657

Enable an agent to identify a half-precision floating-point format, interpret its encodings, and judge whether storing, converting, or computing with it meets a stated numerical requirement.

Thing Registry Cross-cutting context XCT.QLT

Bundle → Layer → Finding → Questions Filled

6 bundles · 11 layers · 18 findings · 28 questions

Format identity Establish what a half-precision claim denotes in its originating context.

Profile resolution

Resolve names to representation contracts.

Label to profile

Record the originating label and the evidence identifying its exact format; leave unresolved labels explicitly ambiguous.

  1. Which specification or producer declaration determines what half or FP16 means here? provenance
  2. Does the declared representation match binary16, a documented alternative half format, or a neighbouring numerical type? boundary

Specification binding

Separate normative format definitions from implementation promises.

Authority and extent

Attach each claimed behavior to the specification edition or implementation contract that supports it.

  1. Which edition and clauses define the encoding and associated numerical behavior? provenance
  2. Does the implementation claim encoding compatibility, conversion support, arithmetic support, or some combination? definition
Encoding and value classes Describe how a raw half-precision word acquires numerical meaning.

Finite decoding

Capture the mapping from fields to finite values.

Field interpretation

Record radix, field positions, exponent bias, and separate decoding rules for normal and subnormal values.

  1. How are the sign, exponent, and fraction fields located and interpreted? definition
  2. Which exponent encodings change the leading-significand rule or select a non-normal class? boundary

Exceptional encodings

Identify zero, infinity, and NaN distinctions supported by the profile.

Special value distinction

Track supported exceptional classes and any required preservation of zero signs, NaN payloads, or signaling distinctions.

  1. Which bit patterns represent signed zeros, infinities, and NaNs under this profile? definition
  2. Which distinctions must an agent preserve when inspecting, copying, comparing, or converting these encodings? action
Range and resolution Expose the limits that determine whether a numerical requirement fits the format.

Representability boundaries

Locate finite limits and the transition into subnormal values.

Range thresholds

Record maximum finite magnitude, minimum positive normal, and minimum positive subnormal separately from operation-dependent overflow and underflow behavior.

  1. What are the exact finite and subnormal limits of the selected profile? measurement
  2. Which required input values fall outside those limits or inside the subnormal interval? measurement

Quantization error

Assess resolution at the magnitudes an application actually uses.

Spacing and tolerance

Record adjacent-value spacing and conversion error against explicit absolute or relative tolerances, including behavior near zero.

  1. What are the nearest representable neighbours of each critical value, and is the value exactly representable? measurement
  2. Does the resulting error satisfy the required tolerance across the intended magnitude range? boundary
Conversion and execution Bind the representation to the operations that produce and consume it.

Conversion contract

Specify the treatment of values entering or leaving half precision.

Rounding and loss

Record source and destination formats, rounding decisions, and handling of out-of-range, tiny, and exceptional values.

  1. Which rounding rule applies, including halfway cases and negative values? definition
  2. When should conversion proceed, report loss, rescale values, or require a wider destination? action

Arithmetic binding

Identify where an execution path actually rounds.

Evaluation and accumulation

Record operand, intermediate, accumulator, and output precision, together with fusion and subnormal settings.

  1. At which steps are results rounded to half precision, and which steps use wider intermediates or accumulators? definition
  2. Which compiler, instruction, and runtime settings establish fusion and subnormal behavior? provenance
Interoperability and validation Determine whether a concrete use preserves its required numerical meaning.

Representation exchange

Connect the abstract encoding to stored or transmitted bytes.

Exchange contract

Record the producer and consumer profiles, byte order, and any canonicalization or conversion during transfer.

  1. Do producer and consumer agree on the format profile and byte order? boundary
  2. Must transfer preserve numerical values, exceptional classes, or every original bit pattern? action

Numerical acceptance

Tie permission to use the format to explicit evidence.

Boundary and workload evidence

Combine targeted format tests with representative workload measurements before accepting a half-precision execution path.

  1. Which tests cover halfway rounding, normal-to-subnormal transitions, signed zeros, overflow, and supported NaN behavior? measurement
  2. What measured error, overflow frequency, and loss of small values would require wider precision or a revised computation? action
Evidence and external alignment What the world already says about this thing, gathered so the model can be checked against it.

Reported evidence

Findings from the breadth pass, kept separate from the structural claims.

Check these first

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these check these first hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Kinds and varieties

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these kinds and varieties hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Identifiers and schemes

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these identifiers and schemes hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Standards and regulation

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these standards and regulation hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Real-world use

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these real-world use hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Typical measurements

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these typical measurements hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Failure modes and hazards

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these failure modes and hazards hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Neighbouring kinds and how to tell them apart

Recalled without web access and unsourced; every item is a lead to verify.

  1. Which of these neighbouring kinds and how to tell them apart hold for the sense of half-precision floating-point format this model covers, and on what evidence? provenance

Classifiers Filled

Family
Thing Registry
Category
Cross-cutting context
Entry kind
thing
Plane
XCT
Domain
XCT.QLT

What it is Filled

A half-precision floating-point format represents numerical values in 16 bits, most commonly using IEEE 754 binary16 with one sign bit, five exponent bits and ten explicitly stored fraction bits.

In scope

  • Format identity, specification authority, and interpretation of names such as half and FP16
  • Bit fields, decoding rules, representable values, and exceptional encodings
  • Range, spacing, precision, and representability boundaries
  • Conversion and arithmetic behavior required or selected by an implementation profile
  • Evidence needed to assess interoperability and numerical suitability

Out of scope

  • Full models of neighbouring formats such as binary32, bfloat16, fixed-point, and posits
  • Processor architecture, instruction scheduling, and hardware design
  • Complete programming-language type systems and compiler models
  • Tensor layouts, image containers, and transport protocols beyond their format bindings
  • Application algorithms and their domain-specific correctness criteria

Why it exists Filled

Enable an agent to identify a half-precision floating-point format, interpret its encodings, and judge whether storing, converting, or computing with it meets a stated numerical requirement.

Distinguishing features Filled

  • Require a documented floating-point decoding rule; a 16-bit storage width alone does not distinguish half precision from integers or fixed-point values.
  • For the binary16 reference profile, test for one sign bit, five exponent bits, and ten stored fraction bits, giving eleven bits of normal significand precision. [OpenEXR technical introduction](https://openexr.com/en/latest/TechnicalIntroduction.html#the-half-data-type)
  • Inspect the treatment of the all-ones exponent: IEEE and Arm alternative half formats are incompatible despite sharing the half-precision label. [GCC half-precision documentation](https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html)
  • Identify the representation separately from the language type and evaluation precision; a half storage type does not establish that expressions execute in half precision. [GCC half-precision documentation](https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html)

What robots and AI may and may not do Filled

Must not

  • Store safety-critical, financial or medical values in half precision where its precision is not enough.
  • Hide overflow, underflow or rounding errors from users of results.
  • Present half-precision results as more precise than they are.

Only with a human decision

  • Changing number formats in a production system that others depend on.

May

  • Convert values to and from half precision and report the precision lost.
  • Explain its range, precision and use in graphics and machine learning.

Moral aspects Filled

  • Precision shortcuts can produce wrong results in systems people trust.

Who is affected

  • Users of computed results
  • Engineers
  • People affected by automated decisions

Owners Filled

Steward

Nobody owns it; it is defined by a public standard.

Links to other meta-models Filled

parent

  • Q449270 - registry parent class

What else AI and robots need to interact with it Filled

Identity and identifiers required Filled

  • Vercy registry: vr.tr.half-precision-floating-point-format
  • Wikidata: Q1994657 (https://www.wikidata.org/wiki/Q1994657)

Direct properties not applicable Not applicable

  • Format profile: IEEE binary16 | documented alternative half format | unresolved
  • Specification authority: Governing specification, edition, clause, and implementation binding
  • Field allocation: Bits per sign, exponent, and fraction field; binary16 reference: 1, 5, 10
  • Finite range: Binary16 reference: largest finite magnitude 65504; smallest positive normal 2^-14; smallest positive subnormal 2^-24
  • Local representable spacing: Difference between adjacent representable values at a specified magnitude and direction
  • Exceptional value class: Positive zero | negative zero | subnormal | normal | infinity | NaN, subject to profile
  • Execution binding: Language type, operation, operand format, intermediate precision, accumulator precision, and result format
  • Conversion policy: Declared rounding direction, overflow response, subnormal handling, and NaN handling
  • Implementation verification state: Unverified | documented | tested for named cases | conflicting evidence

Plane XCT: no invented physical properties.

Recognition not applicable Not applicable

Not applicable

A floating point format is an abstract encoding whose identity cannot be established from visual appearance alone.

Capabilities and actions required Filled

  • Resolve an ambiguous half or FP16 label to a documented format profile.
  • Decode and classify raw encodings under the selected profile.
  • Determine whether a value is exactly representable and quantify conversion error.
  • Select a conversion policy or require wider storage when numerical tolerances are exceeded.
  • Check whether two producers and consumers preserve required values and bit patterns.
  • Construct boundary tests for rounding, subnormals, overflow, and exceptional values.

Hazards and failure modes required Filled

  • Values above about 65,504 overflow to infinity.
  • Small values lose precision or flush to zero, corrupting accumulated sums.

Standards and interfaces required Filled

  • IEEE 754-2019, Standard for Floating-Point Arithmetic, Institute of Electrical and Electronics Engineers.

Context of use required Filled

  • Half precision formats are used in numerical computing, graphics and machine learning to reduce storage and data transfer requirements.
  • They are suitable where their limited precision and numerical range meet the application's error tolerance.
  • Interpreting stored values requires the exact encoding because different 16 bit floating point formats have different representations.

Sources Filled

  1. Wikidata item Q1994657: half-precision floating-point format - identity and sense of the item
  2. Wikipedia: Half-precision floating-point format - general description of the item

Open questions

  • Does the registry intend half precision to mean IEEE binary16 exclusively, or should documented historical alternatives remain profiles within this entry?
  • Which exact standard edition and clauses should anchor the published model's encoding, rounding, and exception claims?
  • Which implementation bindings must be researched to establish promotion, accumulation, subnormal, and NaN behavior for intended users?
  • Which neighbouring registry entries already own bfloat16 and other 16-bit formats, and what explicit cross-references prevent duplicate coverage?
  • Which representative workloads and acceptance tolerances should govern decisions to retain half precision, rescale values, or widen precision?

Machine files

Provenance

thing registry research (pass 2) · unreviewed

Built from: models/things/publications/thing-q1994657/spec.json