mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 03:51:47 -08:00
Microsoft MSVC has _copysign, which can be used to implement signbit
This commit is contained in:
parent
1e89003142
commit
198a58f626
1 changed files with 2 additions and 1 deletions
|
|
@ -405,5 +405,6 @@ typedef unsigned int uint32_t;
|
|||
|
||||
#include <math.h>
|
||||
#ifndef isfinite
|
||||
#define isfinite(x) (finite(x))
|
||||
# define isfinite(x) (finite(x))
|
||||
# define signbit(x) (_copysign(1.0,(x)))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue