what floats are here func deals with nans