Skip to content

New content: add section on ordinary fixed-point types to Numerics - #1371

Open
gusthoff wants to merge 27 commits into
AdaCore:mainfrom
gusthoff:dev/topic/content/courses/advanced-ada/ordinary-fixed-point-types/2026-06-26
Open

New content: add section on ordinary fixed-point types to Numerics#1371
gusthoff wants to merge 27 commits into
AdaCore:mainfrom
gusthoff:dev/topic/content/courses/advanced-ada/ordinary-fixed-point-types/2026-06-26

Conversation

@gusthoff

Copy link
Copy Markdown
Collaborator

No description provided.

@gusthoff gusthoff added the new section Section using new content label Jun 27, 2026
@gusthoff
gusthoff requested a review from swbaird June 27, 2026 11:23

@swbaird swbaird left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not approving because of check suppression misuse.

Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst
@gusthoff
gusthoff requested a review from swbaird July 18, 2026 04:18
gusthoff added 24 commits July 31, 2026 16:31
Add a comprehensive "Ordinary fixed-point types" section to the
"Numerics" chapter of the "Advanced Ada" course.
Also: add admonition about fractional digits.
Move detail into an admonition
@gusthoff
gusthoff force-pushed the dev/topic/content/courses/advanced-ada/ordinary-fixed-point-types/2026-06-26 branch from fee1419 to ebbd5ff Compare July 31, 2026 14:32
swbaird
swbaird previously approved these changes Jul 31, 2026

@swbaird swbaird left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I particularly like the new Fine_Delta section, and avoiding the use of unsafe check suppression.

Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst Outdated
Comment thread content/courses/advanced-ada/parts/data_types/numerics.rst

@swbaird swbaird left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor point. I'll approve now to let you decide whether a correction is needed.

its parent type; the only non-obsolescent constraint allowed in a subtype
declaration is a range constraint. A subtype declaration may also include
a delta constraint, but, as mentioned above, that's an obsolescent feature.
its parent type; the only constraint allowed in a subtype declaration is a

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence is immediately contradicted by the next sentence. Perhaps add a parenthetical "(without using obsolescent language features)" or some similar qualifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new section Section using new content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants