]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/real.hh
release: 0.0.15
[lilypond.git] / flower / real.hh
index 1f2187c8c1a528da7ea8d93988bdbde4bb3f6a8c..68e90f9b71b2b6fad9a5c2907674ebf0b74346e9 100644 (file)
@@ -21,5 +21,9 @@ int sgn(Real x) {
     if (!x)return 0;
     return (x > 0) ?1: -1;
 }
-
+inline Real
+distance(Real x,Real y)
+{
+    return ABS(x-y);
+}
 #endif