Skip to content

Commit fe884e7

Browse files
committed
Disable unsupported c builtin FLT_ROUNDS
1 parent 32555d0 commit fe884e7

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/dtoa.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ typedef union { double d; ULong L[2]; } U;
312312
#endif
313313
#endif /*Flt_Rounds*/
314314

315+
#undef Flt_Rounds // GR-46522
316+
#define Flt_Rounds 1
315317
#define Rounding Flt_Rounds
316318

317319
#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))

0 commit comments

Comments
 (0)