Commit Graph

12 Commits

Author SHA1 Message Date
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
4c5bc46ad9 rational: add ostream operator
required for upcoming TAP changes
2018-04-16 16:00:32 +10:00
e0fb8e4e6b rational: assert the denominator is nonzero on reduce
this placates clang-analyzer
2018-03-13 14:39:51 +11:00
d0f075108e maths: remove gcd in favour of the std implementation 2018-03-11 15:21:36 +11:00
a83aa188e4 rational: add type deducing divide/multiply 2015-09-21 16:36:38 +10:00
4b253a57f7 rational: add operator int 2015-09-21 16:35:31 +10:00
8840bae7b0 rational: update with more operators 2015-07-13 16:30:54 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
9ffaa5782b rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
400ce47891 rational: instantiation should be in namespace 2014-07-07 15:21:17 +10:00
763cb667af rational: add initial stub class 2014-07-02 15:49:27 +10:00