We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9d79b commit 33113aeCopy full SHA for 33113ae
features/frameworks/unity/unity/unity_internals.h
@@ -227,6 +227,9 @@ typedef _US64 _U_SINT;
227
#endif
228
typedef UNITY_FLOAT_TYPE _UF;
229
230
+#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
231
+#else
232
+
233
#ifndef isinf
234
#define isinf(n) (((1.0f / f_zero) == n) ? 1 : 0) || (((-1.0f / f_zero) == n) ? 1 : 0)
235
#define UNITY_FLOAT_NEEDS_ZERO
@@ -236,6 +239,8 @@ typedef UNITY_FLOAT_TYPE _UF;
236
239
#define isnan(n) ((n != n) ? 1 : 0)
237
240
238
241
242
+#endif /* ARMC6 */
243
244
#ifndef isneg
245
#define isneg(n) ((n < 0.0f) ? 1 : 0)
246
0 commit comments