mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-15 09:20:23 -07:00
When we do not have neither signbit nor copysign, we fall back to _not_ supporting signed zeros.
This commit is contained in:
parent
c66068c408
commit
d65e2aa8e7
1 changed files with 3 additions and 1 deletions
|
|
@ -429,7 +429,9 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_hashkey;
|
|||
# ifdef HAVE_COPYSIGN
|
||||
# define signbit(x) (copysign(1.0,(x)) < 0)
|
||||
# else
|
||||
# error "When using signed zeros we need also signbit() or copysign()"
|
||||
/* Fall back to no signed zero */
|
||||
# undef ECL_SIGNED_ZERO
|
||||
# define signbit(x) ((x) < 0)
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue