Navigation

Operators and Keywords

Function List:

C++ API

lo-utils.cc File Reference

#include <cctype>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cfloat>
#include <limits>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "quit.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-utils.h"
Include dependency graph for lo-utils.cc:

Functions

bool xis_int_or_inf_or_nan (double x)
bool xis_one_or_zero (double x)
bool xis_zero (double x)
bool xtoo_large_for_float (double x)
bool xis_int_or_inf_or_nan (float x)
bool xis_one_or_zero (float x)
bool xis_zero (float x)
char * strsave (const char *s)
void octave_putenv (const std::string &name, const std::string &value)
std::string octave_fgets (FILE *f)
std::string octave_fgets (FILE *f, bool &eof)
std::string octave_fgetl (FILE *f)
std::string octave_fgetl (FILE *f, bool &eof)
template<>
double octave_read_value (std::istream &is)
void octave_write_double (std::ostream &os, double d)
void octave_write_complex (std::ostream &os, const Complex &c)
void octave_write_float (std::ostream &os, float d)
void octave_write_float_complex (std::ostream &os, const FloatComplex &c)

Function Documentation

std::string octave_fgetl ( FILE *  f  ) 
std::string octave_fgetl ( FILE *  f,
bool eof 
)
std::string octave_fgets ( FILE *  f,
bool eof 
)
std::string octave_fgets ( FILE *  f  ) 
void octave_putenv ( const std::string &  name,
const std::string &  value 
)
template<>
OCTAVE_API FloatComplex octave_read_value ( std::istream &  is  ) 
void octave_write_complex ( std::ostream &  os,
const Complex c 
)
void octave_write_double ( std::ostream &  os,
double  d 
)
void octave_write_float ( std::ostream &  os,
float  d 
)
void octave_write_float_complex ( std::ostream &  os,
const FloatComplex c 
)
char* strsave ( const char *  s  ) 
bool xis_int_or_inf_or_nan ( double  x  ) 
bool xis_int_or_inf_or_nan ( float  x  ) 
bool xis_one_or_zero ( float  x  ) 
bool xis_one_or_zero ( double  x  ) 
bool xis_zero ( double  x  ) 
bool xis_zero ( float  x  ) 
bool xtoo_large_for_float ( double  x  ) 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines