Removed cmath and instrinsic wrapper.

Fixes #12713