Can't pass NULL to nanf(), but can pass empty string.