2003-07-19 Jan Nieuwenhuizen <janneke@gnu.org>
- * flower/libc-extension.cc (lrint)[!HAVE_LRINT]: Add casting #define.
+ * NEWS: Typo and fill-paragraph fixes.
+
+ * flower/libc-extension.cc (lrint)[!HAVE_LRINT]: Use round () and
+ cast #define.
* configure.in:
* config.hh.in: Check for lrint.
New features in 1.8 since 1.6
=============================
-** There chord entry code has been completely rewritten. It is now
+** The chord entry code has been completely rewritten. It is now
cleaner and more flexible.
-** A new syntax has been added for text entry.
-
-This syntax is more friendly than the old mechanism, and it is
-implemented in a more robust and modular way.
+** A new syntax has been added for text entry. This syntax is more
+friendly than the old mechanism, and it is implemented in a more
+robust and modular way.
** Deeper integration of the input language and Scheme. You can now use
LilyPond identifiers in Scheme, and use Scheme expressions instead of
In version 2.0, postfix syntax will be the only syntax
available, and the dashes will become optional.
-** User code may now be executed during interpreting.
-
-The syntax for this code is
+** User code may now be executed during interpreting. The syntax for
+this code is
\applycontext #SCHEME-FUNCTION
..
NOTE-\stopGroup
-** Ottava brackets are now fully supported as a feature.
-The syntax is
+** Ottava brackets are now fully supported as a feature. The syntax
+is
#(set-octavation 1)
-** Metronome markings are printed when a
-\tempo command is processed.
+** Metronome markings are printed when a \tempo command is processed.
** Fingerings can be put on chords horizontally.
-** The appearance of various glyphs has been fine-tuned
+** The appearance of various glyphs has been fine-tuned.
-** Different types of percent style repeats may now be nested
+** Different types of percent style repeats may now be nested.
** The emacs support has been extended.
#include <ctype.h>
#include "libc-extension.hh"
-/*
- urg: why soo wierd?
- */
char*
strnlwr (char* start ,int n)
{
}
+#if ! HAVE_LRINT
+#define lrint(__x) ((long) (round (__x)
+#endif
+
+
+#if !HAVE_ISINF
+int
+isinf (double x)
+{
+ return x && ( x == x/ 2) ;
+}
+#endif
+
+
#if !HAVE_MEMMEM
/** locate a substring. #memmem# finds the first occurrence of
if (*subneedle++ != *subhaystack++)
goto next;
- // completed the needle. Gotcha.
+ /* Completed the needle. Gotcha. */
return (Byte *) haystack;
next:
haystack++;
return byte;
}
-#if ! HAVE_LRINT
-#define lrint(__x) ((long)(double) __x)
-#endif
-
#if ! HAVE_SNPRINTF
int
snprintf (char *str, size_t, char const *format, ...)
return i;
}
#endif
-
-
-#if !HAVE_ISINF
-int
-isinf (double x)
-{
- return x && ( x == x/ 2) ;
-}
-
-#endif