← Back to catalogue
Published

fixed-point number

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

Let an agent explain fixed-point formats, convert values, analyse range and precision, and tell fixed point from floating point.

Thing Registry Cross-cutting context XCT.QTY

Bundle → Layer → Finding → Questions Filled

4 bundles · 8 layers · 8 findings · 16 questions

Format Which format.

Notation

Q format or scale.

Format

Bits and scale.

  1. How many integer and fractional bits? measurement
  2. Signed or unsigned? boundary

Base

Binary or decimal.

Base

Radix.

  1. Is it binary or decimal? boundary
  2. What is the scale factor? measurement
Range and precision Limits.

Range

Minimum and maximum.

Range

Values.

  1. What range can it represent? measurement
  2. What happens on overflow? provenance

Resolution

Step size.

Resolution

Value.

  1. What is the resolution? measurement
  2. Is it sufficient? boundary
Arithmetic Operations.

Multiply and divide

Scaling.

Operation

Rule.

  1. How is scaling handled in multiplication? definition
  2. Where is rounding applied? definition

Rounding

Modes.

Rounding

Mode.

  1. Which rounding mode is used? provenance
  2. Is saturation used? boundary
Use Applications.

Embedded and DSP

Hardware.

Application

Platform.

  1. On which platform? provenance
  2. Why fixed point? definition

Money

Decimal amounts.

Money

Representation.

  1. How are currency amounts represented? provenance
  2. To how many decimals? measurement

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 fixed-point notation: an integer scaled by an implicit fixed factor, typically a power of two or ten, so that a fixed number of digits follow the radix point; used where floating-point hardware is absent or exact decimal scaling is needed.

Why it exists Filled

Let an agent explain fixed-point formats, convert values, analyse range and precision, and tell fixed point from floating point.

Distinguishing features Filled

  • The scale factor is fixed, unlike floating point, where an exponent varies; Q notation conventions differ on whether the sign bit is counted.
  • Decimal fixed point represents in-range multiples of its step exactly; finer amounts and results may need rounding.
  • Addition needs compatible scales; multiplication needs wider intermediates and rescaling.

What robots and AI may and may not do Filled

Must not

  • claim numerical safety without analysis

May

  • explain formats and compute conversions

Moral aspects Filled

  • accuracy

Who is affected

  • engineers

Owners Filled

Steward

nobody; a representation

Links to other meta-models Filled

parent

  • oewn-13603216-n - registry parent class

related

  • fixed-point notation - representation
  • floating-point number - other representation
  • digital signal processing - application
  • integer arithmetic - implementation

What else AI and robots need to interact with it Filled

Identity and identifiers required Filled

  • Vercy registry: vr.tr.fixed-point-number
  • Open English WordNet: oewn-13619371-n

Direct properties not applicable Not applicable

  • resolution: 2^-n - n fractional bits
  • two's-complement range: -2^(W-1) x 2^-n to (2^(W-1) - 1) x 2^-n - W total bits; unsigned 0 to (2^W - 1) x 2^-n

Plane XCT: no invented physical properties.

Recognition optional Filled

  • Formats written as Qm.n or as scaled integers in code

Capabilities and actions required Filled

  • explain Q formats
  • convert between fixed point and real values
  • compute range and resolution
  • explain overflow and rounding

Hazards and failure modes required Filled

  • Overflow and wrap-around
  • Precision loss from scaling and rounding

Standards and interfaces required Filled

  • ISO/IEC TR 18037 (embedded C extensions, fixed-point types)
  • IEEE 754 for comparison with floating point

Context of use required Filled

  • Efficient arithmetic in embedded systems, DSP and financial calculations.
  • binary fixed point (Q formats)
  • decimal fixed point
  • signed and unsigned formats

Sources Filled

  1. Fixed-point arithmetic - fixed-point representation
  2. Fixed-Point Arithmetic: An Introduction - Scaled-integer interpretation, resolution, signed and unsigned ranges, and arithmetic scaling.
  3. Number Representations - Fixed radix position, Q notation, sign-bit conventions and finite representability.
  4. Fixed Point Numbers - Explicit format parameters, rounding and saturation.
  5. ISO/IEC TR 18037:2008 - Programming languages - C - Extensions to support embedded processors - Technical-report identifier and embedded-C extension scope.
  6. IEEE 754-2019 - IEEE Standard for Floating-Point Arithmetic - Floating-point comparison standard and its binary and decimal arithmetic scope.

Open questions

—

Machine files

Provenance

thing registry research (pass 2) · unreviewed

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