Skip to content

Commit 98970dc

Browse files
committed
Editorial change: rename procedure
1 parent 57d9c5b commit 98970dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

33513351
In this example, we require that :ada:`Decimal_6_Digits` has a size of 128
33523352
bits on the target platform |mdash| instead of the 32 bits that we would

0 commit comments

Comments
 (0)