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 5679712 commit 84d2396Copy full SHA for 84d2396
include/ceed/ceed-f32.h
@@ -18,4 +18,4 @@ typedef float CeedScalar;
18
typedef CeedScalar CeedScalarCPU;
19
20
/// Machine epsilon
21
-#define CEED_EPSILON 0x1p-23
+static const CeedScalar CEED_EPSILON = 0x1p-23;
include/ceed/ceed-f64.h
@@ -19,11 +19,11 @@ typedef float CeedScalar;
typedef double CeedScalarCPU;
22
23
#else
24
typedef double CeedScalar;
25
26
27
28
-#define CEED_EPSILON 0x1p-52
+static const CeedScalar CEED_EPSILON = 0x1p-52;
29
#endif // CEED_RUNNING_JIT_PASS && CEED_JIT_MIXED_PRECISION
0 commit comments