Artifact [b76042525c]

Artifact b76042525c252ff6bbf32bec6059f9c47d10d81f:

Wiki page [Mathematics.Fractions (Package)] by Entomy 2017-03-11 04:35:00.
D 2017-03-11T04:35:00.930
L Mathematics.Fractions\s(Package)
U Entomy
W 841
<h1>Purpose</h1>
<p>It's fractions. The performance sucks, but every representable number has perfect accuracy. You almost certainly shouldn't be using these. Even if you think you need them, you're probably wrong.</p>

<h1>Considerations</h1>
<p>Check out fixed-point binary or decimal types first, as you almost certainly want these instead. If precision is absolutely critical and for some reason those do not suffice, you're probably doing something wrong, but these will solve the problem if you actually aren't.</p>
<p>If you do actually have a legitimate use for these, know that reduction does not occur automatically, as this would even further worsen performance. Know roughly when it should be done, catch the overflow exception and do it, or do it after every operation; whatever works best for the given implementation.</p>
Z 111ee9c6eb5724191ffc638c6c34e039