Math library for OOC.