Implementation of the Math Extensions Proposal by https://github.com/rwaldron
Contains helpers used by core-es packages