[Top][All Lists]

[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: Fri, 30 Sep 2022 21:33:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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 the signbit you can use (< (copysign 1.0 value) 0.0), for NaN there
is isnan.  For the exponent you can use frexp.

Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]