fix numeric sign error,beacause Nan

This commit is contained in:
wanghao19920907
2023-05-22 08:52:57 -07:00
parent 13b420e4e3
commit dc68c65815
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@
#define NUMERIC_DSCALE_MASK 0x3FFF
#define NUMERIC_SIGN(n) \
(NUMERIC_HEADER_IS_SHORT(n) \
(NUMERIC_IS_SHORT(n) \
? (((n)->choice.n_short.n_header & NUMERIC_SHORT_SIGN_MASK) ? NUMERIC_NEG : NUMERIC_POS) \
: NUMERIC_FLAGBITS(n))
#define NUMERIC_DSCALE(n) \