Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit beced4f

Browse files
committed
fix fma
1 parent e1bbbb2 commit beced4f

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

include/common/features.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
#pragma once
22

3+
#ifdef __FP_FAST_FMA
4+
#undef __FP_FAST_FMA
5+
#endif
6+
7+
#ifdef __FP_FAST_FMAF
8+
#undef __FP_FAST_FMAF
9+
#endif
10+
11+
#ifdef __FP_FAST_FMAL
12+
#undef __FP_FAST_FMAL
13+
#endif
14+
315
#ifdef _WIN32
416
#define weak
517
#define hidden

include/common/math.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
#pragma once
22

3-
#ifdef __FP_FAST_FMA
4-
#undef __FP_FAST_FMA
5-
#endif
6-
7-
#ifdef __FP_FAST_FMAF
8-
#undef __FP_FAST_FMAF
9-
#endif
10-
11-
#ifdef __FP_FAST_FMAL
12-
#undef __FP_FAST_FMAL
13-
#endif
14-
153
#include "../../musl/include/math.h"
164

175
#undef INFINITY

0 commit comments

Comments
 (0)