repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-0.0.27
[lilypond.git]
/
flower
/
real.hh
blob
0533af2111a5510ce0624bf674f805fa8b5a1563
1
#ifndef REAL_HH
2
#define REAL_HH
3
4
5
#include <builtin.h>
6
#include <minmax.h>
7
#include <math.h>
8
9
typedef
double
Real
;
10
11
inline
Real
12
distance
(
Real x
,
Real y
)
13
{
14
return
abs
(
x
-
y
);
15
}
16
#endif