Skip to content

Commit 2dedef7

Browse files
committed
Editorial change: correcting project name in code examples
1 parent c58bf9a commit 2dedef7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3363,7 +3363,7 @@ it's always equal to the *delta*.
33633363
For example, we may define a normalized range between -1.0 and 1.0 as
33643364
following:
33653365

3366-
.. code:: ada run_button project=Courses.Intro_To_Ada.Fixed_Point_Types.Normalized_Fixed_Point_Type
3366+
.. code:: ada run_button project=Courses.Advanced_Ada.Fixed_Point_Types.Normalized_Fixed_Point_Type
33673367

33683368
with Ada.Text_IO; use Ada.Text_IO;
33693369

@@ -3390,7 +3390,7 @@ it's always equal to the *delta*.
33903390

33913391
We may also rewrite this code with an exact type definition:
33923392

3393-
.. code:: ada compile_button project=Courses.Intro_To_Ada.Fixed_Point_Types.Normalized_Adapted_Fixed_Point_Type
3393+
.. code:: ada compile_button project=Courses.Advanced_Ada.Fixed_Point_Types.Normalized_Adapted_Fixed_Point_Type
33943394

33953395
procedure Normalized_Adapted_Fixed_Point_Type is
33963396
type TQ31 is
@@ -3402,7 +3402,7 @@ it's always equal to the *delta*.
34023402

34033403
We may also use any other range. For example:
34043404

3405-
.. code:: ada run_button project=Courses.Intro_To_Ada.Fixed_Point_Types.Custom_Fixed_Point_Range
3405+
.. code:: ada run_button project=Courses.Advanced_Ada.Fixed_Point_Types.Custom_Fixed_Point_Range
34063406

34073407
with Ada.Text_IO; use Ada.Text_IO;
34083408
with Ada.Numerics; use Ada.Numerics;
@@ -3431,7 +3431,7 @@ it's always equal to the *delta*.
34313431

34323432
All standard operations are available for fixed-point types. For example:
34333433

3434-
.. code:: ada run_button project=Courses.Intro_To_Ada.Fixed_Point_Types.Fixed_Point_Op
3434+
.. code:: ada run_button project=Courses.Advanced_Ada.Fixed_Point_Types.Fixed_Point_Op
34353435

34363436
with Ada.Text_IO; use Ada.Text_IO;
34373437

0 commit comments

Comments
 (0)