]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/real.hh
release: 0.1.1
[lilypond.git] / flower / include / real.hh
1 /*
2   real.hh -- declare Real
3
4   source file of the Flower Library
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef REAL_HH
11 #define REAL_HH
12
13
14 #include <builtin.h>
15 #include <minmax.h>
16 #include <math.h>
17 #include <limits.h>
18
19 typedef double Real;
20 const Real infinity_f = HUGE_VAL;
21
22 inline Real
23 distance(Real x,Real y)
24 {
25     return abs(x-y);
26 }
27
28 #endif