File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
content/courses/advanced-ada/parts/data_types Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3460,11 +3460,11 @@ machine when assigning values to objects of decimal type. For example:
34603460 Put_Line ("-----------------------------");
34613461 end Show_Machine_Implementation;
34623462
3463- In this example, we use the overlays :ada: `Int_T0_D4 ` and :ada: `Int_T2_D6 ` to
3464- retrieve the integer representation of the decimal fixed-point types
3465- :ada: ` T0_D4 ` and :ada: `T2_D6 `. In the output of this example , we might see the
3466- following integer representation of the real values for the :ada: `T0_D4 ` and
3467- :ada: ` T2_D6 ` types :
3463+ In this example, we use the overlays :ada: `V_Int_T0_D4 ` and :ada: `V_Int_T2_D6 `
3464+ to retrieve the integer representation of the decimal variables :ada: ` V_T0_D4 `
3465+ and :ada: `V_T2_D6 `. By doing this, we retrieve the machine representation of
3466+ the real values for the :ada: `T0_D4 ` and :ada: ` T2_D6 ` types. The table shows
3467+ the values that we get by running the test application :
34683468
34693469+-------------+-----------------------------+
34703470| Real value | Integer representation |
You can’t perform that action at this time.
0 commit comments