Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | a66803decca378af317c93ff16b59d4ff92fbfe2 |
---|---|
Page Name: | Numerics |
Date: | 2017-03-23 17:22:28 |
Original User: | Entomy |
Parent: | e2113c65d5885c2ba55f07f6f99ecce4992c253c (diff) |
Next | b2939ea9be89372c32cb2f3498b5045b54f6c340 |
Content
Implements a large number of useful numeric types that were, for various reasons, not included in Standard. I agree with the exclusion, and this package seeks to supplement the Standard numerics. Some key features:
- Natural, Positive, Negative, Even, and Odd subtypes for the standard Integer of all sizes. Even and Odd are achieved with Dynamic Predicates, and require Ada 2012.
- Modulus and Remainder operators for fractional types.
Only arithmetic and properties are implemented here. Further math support belongs in Mathematics.