Custom_fixed_point_range.adb
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 117
- Forks
- 49
- Avg merge
- 44m
- Merged PRs (30d)
- 8
Description
In https://learn.adacore.com/courses/intro-to-ada/chapters/fixed_point_types.html custom_fixed_point_range.adb, why doesn't the range end/last need to be one delta less like typical binary/ordinary fixed point types like normalized fixed point type example?
Is it not needed because floating point roundoff wit pi/2 in example? And/or because 'small can be different/smaller than 'delta?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked fixed-point types chapter and locate custom_fixed_point_range.adb, then compare it with the normalized fixed-point type example mentioned in the issue. Trace how the range end, 'Last, 'Small, and 'Delta are described in the surrounding material; done means the documentation clearly answers why the range endpoint is chosen and whether rounding affects it.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100