File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
content/courses/advanced-ada/parts/data_types Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1537,9 +1537,9 @@ a real value, we're indirectly using a universal real type. If we declare
15371537another named number using an expression, the computation is performed based on
15381538the universal types of the elements of that expression:
15391539
1540- .. code :: ada run_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_And_Root_Types.Universal_Real_Integer
1540+ .. code :: ada compile_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_And_Root_Types.Universal_Real_Integer
15411541
1542- procedure Show_Universal_Real_Integer is
1542+ package Show_Universal_Real_Integer is
15431543
15441544 Pi : constant := 3.1415926535;
15451545 -- ^^^^^^^^^^^^
@@ -1559,8 +1559,6 @@ the universal types of the elements of that expression:
15591559 -- operation on
15601560 -- universal integer type
15611561
1562- begin
1563- null;
15641562 end Show_Universal_Real_Integer;
15651563
15661564In this example, the expression :ada: `Pi * 2.0 ` is computed using universal
You can’t perform that action at this time.
0 commit comments