comparison liboctave/lo-utils.h @ 4130:7d9bda865012

[project @ 2002-10-28 21:05:30 by jwe]
author jwe
date Mon, 28 Oct 2002 21:05:31 +0000
parents 4f884e25aab9
children c0a23a13eea2
comparison
equal deleted inserted replaced
4129:d38de1db3667 4130:7d9bda865012
23 #if !defined (octave_liboctave_utils_h) 23 #if !defined (octave_liboctave_utils_h)
24 #define octave_liboctave_utils_h 1 24 #define octave_liboctave_utils_h 1
25 25
26 #include <cstdio> 26 #include <cstdio>
27 27
28 #include <iostream>
28 #include <string> 29 #include <string>
30
31 #include "oct-cmplx.h"
29 32
30 extern int NINT (double x); 33 extern int NINT (double x);
31 extern double D_NINT (double x); 34 extern double D_NINT (double x);
32 35
33 extern char *strsave (const char *); 36 extern char *strsave (const char *);
44 int (*cmp) (const void *, const void *)); 47 int (*cmp) (const void *, const void *));
45 48
46 extern "C" char *oct_strptime (const char *buf, const char *format, 49 extern "C" char *oct_strptime (const char *buf, const char *format,
47 struct tm *tm); 50 struct tm *tm);
48 51
52 extern double octave_read_double (std::istream& is);
53 extern Complex octave_read_complex (std::istream& is);
54
55 extern void octave_write_double (std::ostream& os, double d);
56 extern void octave_write_complex (std::ostream& os, const Complex& c);
57
49 #endif 58 #endif
50 59
51 /* 60 /*
52 ;;; Local Variables: *** 61 ;;; Local Variables: ***
53 ;;; mode: C++ *** 62 ;;; mode: C++ ***