Math API.

Adds mathemathical methods (from <math.h>) to `Number` class and hashing
methods for `Int` and `Float` classes.