mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix braino in definition of isfinite().
Noticed by: marcus Pointy hat to: das
This commit is contained in:
parent
e1fec84a4a
commit
6d3bd9530d
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ extern const union __nan_un {
|
|||
: (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \
|
||||
: __fpclassifyl(x))
|
||||
|
||||
#define isfinite(x) (fpclassify(x) & (FP_INFINITE|FP_NAN) == 0)
|
||||
#define isfinite(x) ((fpclassify(x) & (FP_INFINITE|FP_NAN)) == 0)
|
||||
#define isinf(x) (fpclassify(x) == FP_INFINITE)
|
||||
#define isnan(x) (fpclassify(x) == FP_NAN)
|
||||
#define isnanf(x) isnan(x)
|
||||
|
|
|
|||
Loading…
Reference in a new issue