]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/misc.cc
Release: bump Welcome versions.
[lilypond.git] / lily / misc.cc
index 7bb417bd6251ef2b5e7d34012ccfc2b4dd3c0d5b..6cafa2b50b3669fac258e5d2b1d3e51cdb737db1 100644 (file)
 #include "offset.hh"
 #include "warn.hh"
 
-using std::string;
-using std::vector;
-
-/*
-  Return the 2-log, rounded down
-*/
-int
-intlog2 (int d)
-{
-  if (d <= 0)
-    error ("intlog2 with negative argument: " + ::to_string (d));
-  int i = 0;
-  while ((d != 1))
-    {
-      d /= 2;
-      i++;
-    }
-
-  assert (! (d / 2));
-  return i;
-}
-
 double
 log_2 (double x)
 {