summaryrefslogtreecommitdiff
path: root/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'misc.cc')
-rw-r--r--misc.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/misc.cc b/misc.cc
index 174e4224bc..54746fd836 100644
--- a/misc.cc
+++ b/misc.cc
@@ -12,25 +12,3 @@ int intlog2(int d) {
return i;
}
-double log2(double x) {
- return log(x) /log(2.0);
-}
-
-
-// golden ratio
- const Real PHI = (1+sqrt(5))/2;
-const double ENGRAVERS_SPACE = PHI;
-
-
-
-
-Real
-duration_to_idealspace(Real d, Real w)
-{
- // see Roelofs, p. 57
- return w * pow(ENGRAVERS_SPACE, log2(d));
-}
-
-
-
-