Mercurial > hg > octave-nkf
diff 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 |
line wrap: on
line diff
--- a/liboctave/lo-utils.h +++ b/liboctave/lo-utils.h @@ -25,8 +25,11 @@ #include <cstdio> +#include <iostream> #include <string> +#include "oct-cmplx.h" + extern int NINT (double x); extern double D_NINT (double x); @@ -46,6 +49,12 @@ extern "C" char *oct_strptime (const char *buf, const char *format, struct tm *tm); +extern double octave_read_double (std::istream& is); +extern Complex octave_read_complex (std::istream& is); + +extern void octave_write_double (std::ostream& os, double d); +extern void octave_write_complex (std::ostream& os, const Complex& c); + #endif /*