forked from wolfSSL/wolfssl
have fastmath use negative error codes for consistent <0 error detection
This commit is contained in:
@@ -258,9 +258,9 @@
|
||||
|
||||
/* return codes */
|
||||
#define FP_OKAY 0
|
||||
#define FP_VAL 1
|
||||
#define FP_MEM 2
|
||||
#define FP_NOT_INF 3
|
||||
#define FP_VAL -1
|
||||
#define FP_MEM -2
|
||||
#define FP_NOT_INF -3
|
||||
|
||||
/* equalities */
|
||||
#define FP_LT -1 /* less than */
|
||||
|
Reference in New Issue
Block a user