Modify new_float for more grammar