2 misc.cc -- implement various stuff
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 Jan Nieuwenhuizen <janneke@gnu.org>
15 Return the 2-log, rounded down
35 return log (x) / log (2.0);
39 split_string (String s, char c)
48 s = s.nomid_string (0, 1);
55 rv.push (s.cut_string (0, i));
56 s = s.nomid_string (0, i);