File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/courses/advanced-ada/parts/data_types Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3336,7 +3336,7 @@ Let's see an example using a decimal fixed-point type:
33363336
33373337 with Ada.Text_IO; use Ada.Text_IO;
33383338
3339- procedure Show_Decimal_Digits is
3339+ procedure Show_Custom_Size_Decimal is
33403340
33413341 type Decimal_6_Digits is
33423342 delta 10.0 ** (-2) digits 6
@@ -3346,7 +3346,7 @@ Let's see an example using a decimal fixed-point type:
33463346 Put_Line ("Decimal_6_Digits'Size :"
33473347 & Decimal_6_Digits'Size'Image
33483348 & " bits");
3349- end Show_Decimal_Digits ;
3349+ end Show_Custom_Size_Decimal ;
33503350
33513351In this example, we require that :ada: `Decimal_6_Digits ` has a size of 128
33523352bits on the target platform |mdash | instead of the 32 bits that we would
You can’t perform that action at this time.
0 commit comments