C++ code for doing some simple numerics.  Integer arithmetic, finite integral domains, prime factors gcd, polynomials, random numbers of various distributions.  basic tests included.  I used this stuff for a class a few years ago.