Skip to content

Commit d8f004b

Browse files
committed
lib/libm_dbl: Support FLT_EVAL_METHOD == 16.
That's almost the same as FLT_EVAL_METHOD == 0, but indicates the presence of _Float16_t support. Signed-off-by: Damien George <[email protected]>
1 parent 62a674c commit d8f004b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/libm_dbl/rint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <math.h>
33
#include <stdint.h>
44

5-
#if FLT_EVAL_METHOD==0 || FLT_EVAL_METHOD==1
5+
#if FLT_EVAL_METHOD==0 || FLT_EVAL_METHOD==1 || FLT_EVAL_METHOD==16
66
#define EPS DBL_EPSILON
77
#elif FLT_EVAL_METHOD==2
88
#define EPS LDBL_EPSILON

0 commit comments

Comments
 (0)