]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.1
authorfred <fred>
Sun, 24 Mar 2002 19:52:34 +0000 (19:52 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:52:34 +0000 (19:52 +0000)
flower/include/real.hh
lily/boxes.cc
lily/include/const.hh
lily/tex.cc

index 0533af2111a5510ce0624bf674f805fa8b5a1563..457b82f967f13c278c72aca8402b05c2fd715ca4 100644 (file)
@@ -1,3 +1,12 @@
+/*
+  real.hh -- declare Real
+
+  source file of the Flower Library
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
 #ifndef REAL_HH
 #define REAL_HH
 
 #include <builtin.h>
 #include <minmax.h>
 #include <math.h>
+#include <limits.h>
 
 typedef double Real;
+const Real infinity_f = HUGE_VAL;
 
 inline Real
 distance(Real x,Real y)
 {
     return abs(x-y);
 }
+
 #endif
index f83f7659e929eca8fe24a4771caf09c9d2020c7a..1798cb93c3033162798b3131d29d248aab1976d2 100644 (file)
@@ -1,5 +1,4 @@
 #include "boxes.hh"
-#include "const.hh"
 #include "varray.hh"
 
 
index 4b45edc5972ee604ae64b673aa75a38a0c1fc754..531d0021061ec4843310bc35f784402dcde0a860 100644 (file)
@@ -7,7 +7,6 @@
 #include <math.h>
 #include "real.hh"
 
-const Real INFTY=HUGE_VAL;
-const Real INFTY_f=(Real)INT_MAX;
+#error
 
 #endif
index 3b8fe8aa20e013eaaeb15728a476f8a571588b96..470dd49ea69077a038e235d4777b7be758f1502f 100644 (file)
@@ -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 <hanwen@stack.nl>
+*/
+
 #include "dimen.hh"
 #include "tex.hh"
 #include "symbol.hh"
-#include "const.hh"
 #include "varray.hh"
 
 String