Base types, math context, and function replacement macros.