]> git.donarmstrong.com Git - lilypond.git/blobdiff - hdr/misc.hh
release: 0.0.20
[lilypond.git] / hdr / misc.hh
index 64c8ca4102c1606fb91513938c895473bbbd9d08..fa8787674814708e5495751e033da6e94ebc15f3 100644 (file)
@@ -1,7 +1,23 @@
 #ifndef MISC_HH
 #define MISC_HH
 
+#include "real.hh"
+#include "moment.hh"
 
+Moment wholes(int dur, int dots);
+    
+double log_2(double x) ;
+int intlog2(int d);
+inline int
+abs(int i){
+    return (i < 0)?-i:i;
+}
+inline int
+sign(int i) {
+    if (i<0) return -1;
+    else if (i) return 1;
+    else return 0;
+}
 
 
 #endif