GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lo-utils.cc File Reference
#include <cstdlib>
#include <cstring>
#include <complex>
#include <istream>
#include <limits>
#include <ostream>
#include <string>
#include "quit.h"
#include "intprops-wrappers.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-utils.h"
#include "oct-inttypes.h"
Include dependency graph for lo-utils.cc:

Go to the source code of this file.

Namespaces

namespace  octave
 
namespace  octave::math
 

Functions

std::string octave::fgetl (FILE *f)
 
std::string octave::fgetl (FILE *f, bool &eof)
 
std::string octave::fgets (FILE *f)
 
std::string octave::fgets (FILE *f, bool &eof)
 
bool octave::math::int_multiply_overflow (int a, int b, int *r)
 
bool octave::math::int_multiply_overflow (long int a, long int b, long int *r)
 
bool octave::math::int_multiply_overflow (unsigned int a, unsigned int b, unsigned int *r)
 
bool octave::math::int_multiply_overflow (unsigned long int a, unsigned long int b, unsigned long int *r)
 
bool octave::is_int_or_inf_or_nan (double x)
 
bool octave::is_int_or_inf_or_nan (float x)
 
template<typename T >
std::complex< T > octave::read_cx_fp_value (std::istream &is)
 
template<typename T >
double octave::read_fp_value (std::istream &is)
 
template<typename T >
octave::read_inf_nan_na (std::istream &is, char c0)
 
template<typename T >
octave::read_value (std::istream &is)
 
template<>
OCTAVE_API double octave::read_value (std::istream &is)
 
template<>
OCTAVE_API Complex octave::read_value (std::istream &is)
 
template<>
OCTAVE_API float octave::read_value (std::istream &is)
 
template<>
OCTAVE_API FloatComplex octave::read_value (std::istream &is)
 
template OCTAVE_API bool octave::read_value< bool > (std::istream &is)
 
template OCTAVE_API octave_int16 octave::read_value< octave_int16 > (std::istream &is)
 
template OCTAVE_API octave_int32 octave::read_value< octave_int32 > (std::istream &is)
 
template OCTAVE_API octave_int64 octave::read_value< octave_int64 > (std::istream &is)
 
template OCTAVE_API octave_int8 octave::read_value< octave_int8 > (std::istream &is)
 
template OCTAVE_API octave_uint16 octave::read_value< octave_uint16 > (std::istream &is)
 
template OCTAVE_API octave_uint32 octave::read_value< octave_uint32 > (std::istream &is)
 
template OCTAVE_API octave_uint64 octave::read_value< octave_uint64 > (std::istream &is)
 
template OCTAVE_API octave_uint8 octave::read_value< octave_uint8 > (std::istream &is)
 
char * octave::strsave (const char *s)
 
bool octave::too_large_for_float (const Complex &x)
 
bool octave::too_large_for_float (double x)
 
template<>
OCTAVE_API void octave::write_value (std::ostream &os, const Complex &value)
 
template<>
OCTAVE_API void octave::write_value (std::ostream &os, const double &value)
 
template<>
OCTAVE_API void octave::write_value (std::ostream &os, const float &value)
 
template<>
OCTAVE_API void octave::write_value (std::ostream &os, const FloatComplex &value)
 
template<typename T >
void octave::write_value (std::ostream &os, const T &value)
 
template OCTAVE_API void octave::write_value< bool > (std::ostream &os, const bool &value)
 
template OCTAVE_API void octave::write_value< octave_int16 > (std::ostream &os, const octave_int16 &value)
 
template OCTAVE_API void octave::write_value< octave_int32 > (std::ostream &os, const octave_int32 &value)
 
template OCTAVE_API void octave::write_value< octave_int64 > (std::ostream &os, const octave_int64 &value)
 
template OCTAVE_API void octave::write_value< octave_int8 > (std::ostream &os, const octave_int8 &value)
 
template OCTAVE_API void octave::write_value< octave_uint16 > (std::ostream &os, const octave_uint16 &value)
 
template OCTAVE_API void octave::write_value< octave_uint32 > (std::ostream &os, const octave_uint32 &value)
 
template OCTAVE_API void octave::write_value< octave_uint64 > (std::ostream &os, const octave_uint64 &value)
 
template OCTAVE_API void octave::write_value< octave_uint8 > (std::ostream &os, const octave_uint8 &value)