[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] when reading a float with ieee754f, always return quiet NaN


On Sun, Jul 15, 2018 at 12:59:04PM -0700, okovko wrote:
>  	if (exp == 0xff) {
>  		if (n) {
The parentheses for the if could be dropped now but not doing it leaves
the patch cleaner so I've left it as it is.
> -			/* TODO: work out what a negative NaN means */
> -			assert(!isneg);
>  			return NAN;

I shortened the commit message a formatted it a bit differently as it
was going past the recommended git commit message first line length.

Applied, thanks.

-- 
Tomasz Kramkowski