diff options
| author | Damien George <damien@micropython.org> | 2025-05-28 17:05:03 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-07-08 16:24:27 +1000 |
| commit | d8f004b62fccae7e1b102d3ff5e055a1823d88d5 (patch) | |
| tree | b214d21bfeaceabedfdd7a6918badd796fd72d89 | |
| parent | 62a674c9c40b52903d7da4fda5331b0f8653d966 (diff) | |
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 <damien@micropython.org>
| -rw-r--r-- | lib/libm_dbl/rint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm_dbl/rint.c b/lib/libm_dbl/rint.c index fbba390e7..b85dec8f2 100644 --- a/lib/libm_dbl/rint.c +++ b/lib/libm_dbl/rint.c @@ -2,7 +2,7 @@ #include <math.h> #include <stdint.h> -#if FLT_EVAL_METHOD==0 || FLT_EVAL_METHOD==1 +#if FLT_EVAL_METHOD==0 || FLT_EVAL_METHOD==1 || FLT_EVAL_METHOD==16 #define EPS DBL_EPSILON #elif FLT_EVAL_METHOD==2 #define EPS LDBL_EPSILON |
