core: Document most math intrinsics