]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.15
authorfred <fred>
Thu, 19 Dec 1996 00:25:47 +0000 (00:25 +0000)
committerfred <fred>
Thu, 19 Dec 1996 00:25:47 +0000 (00:25 +0000)
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