Add magic number to FastMath
Add special cases handling to FastMath