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 <damien@micropython.org>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy