Artifact Content

Artifact b2939ea9be89372c32cb2f3498b5045b54f6c340:

Wiki page [Numerics] by Entomy 2017-12-27 16:12:40.
D 2017-12-27T16:12:40.278
L Numerics
P a66803decca378af317c93ff16b59d4ff92fbfe2
U Entomy
W 726
<p>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:</p>
<ul>
<li>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.</li>
<li>Predefined modular types based on their equivalent Integer types.</li>
<li>Modulus and Remainder operators for fractional types.</li>
<li>Truncate, Ceiling, and Floor, functions for fractional types.</li>
</ul>
<p>Only arithmetic and properties are implemented here. Further math support belongs in Mathematics.</p>
Z be7ab11d1be83760c07b1d2d9fabd0a5