[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] when reading a float with ieee754f, always return quiet NaN
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Re: [PATCH] when reading a float with ieee754f, always return quiet NaN
- From: Tomasz Kramkowski <tk@xxxxxxxxxx>
- Date: Sun, 15 Jul 2018 21:12:34 +0100
- To: okovko <okovko@xxxxxxxxx>
- Cc: faqe-devel@xxxxxxxxxx
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
| [PATCH] when reading a float with ieee754f, always return quiet NaN | okovko <okovko@xxxxxxxxx> |