GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::mach_info Namespace Reference

Enumerations

enum  float_format { flt_fmt_unknown = 0 , flt_fmt_ieee_little_endian = 1 , flt_fmt_ieee_big_endian = 2 }
 

Functions

std::string float_format_as_string (float_format flt_fmt)
 
static float_format get_float_format (void)
 
static bool is_big_endian (void)
 
float_format native_float_format (void)
 
float_format string_to_float_format (const std::string &s)
 
bool words_big_endian (void)
 
bool words_little_endian (void)
 

Enumeration Type Documentation

◆ float_format

Enumerator
flt_fmt_unknown 
flt_fmt_ieee_little_endian 
flt_fmt_ieee_big_endian 

Definition at line 37 of file mach-info.h.

Function Documentation

◆ float_format_as_string()

std::string octave::mach_info::float_format_as_string ( float_format  flt_fmt)

◆ get_float_format()

static float_format octave::mach_info::get_float_format ( void  )
static

◆ is_big_endian()

static bool octave::mach_info::is_big_endian ( void  )
static

Definition at line 60 of file mach-info.cc.

References octave_is_big_endian().

Referenced by words_big_endian(), and words_little_endian().

◆ native_float_format()

◆ string_to_float_format()

float_format octave::mach_info::string_to_float_format ( const std::string &  s)

◆ words_big_endian()

◆ words_little_endian()

bool octave::mach_info::words_little_endian ( void  )

Definition at line 79 of file mach-info.cc.

References is_big_endian().

Referenced by F__octave_config_info__(), and is_little_endian().