source file of the flowerlib
- (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include <math.h>
-
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include "libc-extension.hh"
+#include <cmath>
+#include <cstdio>
+#include <cstring>
+#include <cctype>
+
char*
strnlwr (char* start ,int n)
{
double
my_round (double x)
{
- return floor (x -0.5)+ 1.0 ;
+ return floor (x -0.5)+ 1.0 ;
}
-
+#ifndef isinf
#if !HAVE_ISINF
int
isinf (double x)
return x && ( x == x/ 2) ;
}
#endif
-
+#endif
#if !HAVE_MEMMEM