Skip to content

Commit 954d100

Browse files
committed
Mention small of fixed-point types for machine representation
1 parent 978bb92 commit 954d100

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/courses/advanced-ada/parts/data_types/numerics.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3362,10 +3362,11 @@ won't compile if your target architecture doesn't support 128-bit data types.)
33623362
Machine representation of fixed-point types
33633363
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33643364

3365-
In this section, we discuss how fixed-point types are typically
3366-
represented in actual hardware. For that, we can use
3367-
:ref:`overlays <Adv_Ada_Address_Aspect_Overlay>` to retrieve the actual integer
3368-
representation on the machine of objects of the fixed-point type.
3365+
In this section, we discuss how fixed-point types are represented in actual
3366+
hardware. Typically, the machine representation of objects of fixed-point type
3367+
consists of integer values scaled by the *small* of the type. To retrieve
3368+
the actual integer representation, we can use
3369+
:ref:`overlays <Adv_Ada_Address_Aspect_Overlay>`.
33693370

33703371

33713372
.. _Adv_Ada_Decimal_Fixed_Point_Machine_Representation:

0 commit comments

Comments
 (0)