We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 618d0d2 commit 1c61d05Copy full SHA for 1c61d05
content/courses/advanced-ada/parts/data_types/numerics.rst
@@ -4819,8 +4819,10 @@ same time |mdash| as we can do with floating-point types. For example:
4819
4820
type D6 is
4821
delta 1.0 digits 6;
4822
+
4823
type D6_RD3 is new D6
4824
range -999.0 .. 999.0;
4825
4826
type D6_R5 is new D6
4827
range -5.0 .. 5.0;
4828
@@ -4860,10 +4862,13 @@ range at the same time. For example:
4860
4862
4861
4863
4864
4865
4866
subtype D6_RD3 is D6
4867
4868
4869
subtype D6_R5 is D6
4870
4871
4872
begin
4873
Put_Line ("D6'Range : "
4874
& D6'First'Image
0 commit comments