Add float type for math functions
Add random tests