fixed-point number
Let an agent explain fixed-point formats, convert values, analyse range and precision, and tell fixed point from floating point.
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.
- How many integer and fractional bits? measurement
- Signed or unsigned? boundary
Base
Binary or decimal.
Base
Radix.
- Is it binary or decimal? boundary
- What is the scale factor? measurement
Range and precision Limits.
Range
Minimum and maximum.
Range
Values.
- What range can it represent? measurement
- What happens on overflow? provenance
Resolution
Step size.
Resolution
Value.
- What is the resolution? measurement
- Is it sufficient? boundary
Arithmetic Operations.
Multiply and divide
Scaling.
Operation
Rule.
- How is scaling handled in multiplication? definition
- Where is rounding applied? definition
Rounding
Modes.
Rounding
Mode.
- Which rounding mode is used? provenance
- Is saturation used? boundary
Use Applications.
Embedded and DSP
Hardware.
Application
Platform.
- On which platform? provenance
- Why fixed point? definition
Money
Decimal amounts.
Money
Representation.
- How are currency amounts represented? provenance
- 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
- Fixed-point arithmetic - fixed-point representation
- Fixed-Point Arithmetic: An Introduction - Scaled-integer interpretation, resolution, signed and unsigned ranges, and arithmetic scaling.
- Number Representations - Fixed radix position, Q notation, sign-bit conventions and finite representability.
- Fixed Point Numbers - Explicit format parameters, rounding and saturation.
- ISO/IEC TR 18037:2008 - Programming languages - C - Extensions to support embedded processors - Technical-report identifier and embedded-C extension scope.
- 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