[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: osc-insert-float32
From: |
Andreas Schwab |
Subject: |
Re: osc-insert-float32 |
Date: |
Tue, 17 Dec 2019 19:25:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
On Dez 17 2019, Mario Lang wrote:
> If no, is there a better way to test for negative zero and 0.0e+NaN?
For negative zero, check (< (copysign 1.0 x) 0), for NaN use isnan or
(/= x x).
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."