floating-point number
Let an agent explain floating-point numbers, formats, precision and rounding, with references to IEEE 754.
Bundle → Layer → Finding → Questions Filled
4 bundles · 8 layers · 8 findings · 16 questions
Format Which format.
Format
Name.
Format
Name and bits.
- Which format? provenance
- How many bits? measurement
Parameters
Precision and range.
Parameters
Values.
- What precision and exponent range? measurement
- Per IEEE 754? provenance
Value A number.
Representation
Bits.
Encoding
Sign, exponent, significand.
- How is the value encoded? provenance
- Is it exact? boundary
Special values
NaN and infinities.
Special value
Type.
- Is it a special value? boundary
- Which one? provenance
Arithmetic Operations.
Rounding
Mode.
Rounding mode
Mode.
- Which rounding mode? provenance
- Default round-to-nearest-even? provenance
Error
Accuracy.
Error bound
Value.
- What is the error bound? measurement
- In ulps? measurement
Use Applications.
Suitability
Use case.
Suitability
Assessment.
- Is floating point suitable here? boundary
- Why? definition
Language support
Types.
Language type
Type name.
- Which type in the language? provenance
- 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
- Floating-point arithmetic - representation and formats
- ISO/IEC 60559:2020 - Floating-Point arithmetic - Standard identifier, publication year, binary and decimal formats, arithmetic and exceptions.
- Floating Point - Representation, binary formats, special values and bfloat16.
- Stochastic rounding: implementation, error analysis and applications - Format precision, subnormal ranges, rounding and the distinction between IEEE formats and bfloat16.
- 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