From 6f4df4f9532c02a878956bac7aae5b6c54934dc0 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:52:34 +0000 Subject: [PATCH] lilypond-0.1.1 --- flower/include/real.hh | 12 ++++++++++++ lily/boxes.cc | 1 - lily/include/const.hh | 3 +-- lily/tex.cc | 9 ++++++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/flower/include/real.hh b/flower/include/real.hh index 0533af2111..457b82f967 100644 --- a/flower/include/real.hh +++ b/flower/include/real.hh @@ -1,3 +1,12 @@ +/* + real.hh -- declare Real + + source file of the Flower Library + + (c) 1997 Han-Wen Nienhuys +*/ + + #ifndef REAL_HH #define REAL_HH @@ -5,12 +14,15 @@ #include #include #include +#include typedef double Real; +const Real infinity_f = HUGE_VAL; inline Real distance(Real x,Real y) { return abs(x-y); } + #endif diff --git a/lily/boxes.cc b/lily/boxes.cc index f83f7659e9..1798cb93c3 100644 --- a/lily/boxes.cc +++ b/lily/boxes.cc @@ -1,5 +1,4 @@ #include "boxes.hh" -#include "const.hh" #include "varray.hh" diff --git a/lily/include/const.hh b/lily/include/const.hh index 4b45edc597..531d002106 100644 --- a/lily/include/const.hh +++ b/lily/include/const.hh @@ -7,7 +7,6 @@ #include #include "real.hh" -const Real INFTY=HUGE_VAL; -const Real INFTY_f=(Real)INT_MAX; +#error #endif diff --git a/lily/tex.cc b/lily/tex.cc index 3b8fe8aa20..470dd49ea6 100644 --- a/lily/tex.cc +++ b/lily/tex.cc @@ -1,7 +1,14 @@ +/* + tex.cc -- implement TeX related misc functions + + source file of the GNU LilyPond music typesetter + + (c) 1996,1997 Han-Wen Nienhuys +*/ + #include "dimen.hh" #include "tex.hh" #include "symbol.hh" -#include "const.hh" #include "varray.hh" String -- 2.39.5