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.
2 parents 7700049 + 7223f84 commit 750a62dCopy full SHA for 750a62d
src/ast.hpp
@@ -38,7 +38,7 @@ namespace Sass {
38
39
// ToDo: should this really be hardcoded
40
// Note: most methods follow precision option
41
- const double NUMBER_EPSILON = 0.00000000000001;
+ const double NUMBER_EPSILON = 1e-12;
42
43
// macro to test if numbers are equal within a small error margin
44
#define NEAR_EQUAL(lhs, rhs) std::fabs(lhs - rhs) < NUMBER_EPSILON
0 commit comments