Revert "Replacing FloatMath native implementation with calls to Math"

This reverts commit 32b88b48daa7383880088246d7222dd93cf55285.

Change-Id: I40ea17f3a68f2b53eb013aebd3ba1becdc724f94
Merge "Revert "Replacing FloatMath native implementation with calls to Math""