lilypond-1.3.129
[lilypond.git] / flower / interval.cc
blobffcf4782b52d5726f3684d8b434f0b61a1253f5b
1 /*
2 interval.cc -- instantiate Interval_t<Real>
4 source file of the Flower Library
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #include "interval.hh"
11 #include "real.hh"
12 #include "interval.tcc"
14 Real
15 Interval_t<Real>::infinity ()
17 return HUGE_VAL;
20 String
21 Interval_t<Real>::T_to_str (Real r)
23 return to_str (r);
27 int
28 Interval_t<int>::infinity ()
30 return INT_MAX;
33 String
34 Interval_t<int>::T_to_str (int i)
36 return to_str (i);
39 template INTERVAL__INSTANTIATE (int);
40 template INTERVAL__INSTANTIATE (Real);