]> git.donarmstrong.com Git - lilypond.git/blob - flower/interval.cc
release: 1.3.19
[lilypond.git] / flower / interval.cc
1 /*
2   interval.cc -- instantiate Interval_t<Real>
3
4   source file of the Flower Library
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #include "interval.hh"
11 #include "real.hh"
12 #include "interval.tcc"
13
14 Real
15 Interval_t<Real>::infinity () 
16 {
17   return HUGE_VAL;
18 }
19
20 String
21 Interval_t<Real>::T_to_str (Real r)
22 {
23   return to_str (r);
24 }
25
26
27 int
28 Interval_t<int>::infinity () 
29 {
30   return INT_MAX;
31 }
32
33 String
34 Interval_t<int>::T_to_str (int i)
35 {
36   return to_str (i);
37 }
38
39 template INTERVAL__INSTANTIATE (int);
40 template INTERVAL__INSTANTIATE (Real);
41