GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mach-info.h File Reference
#include "octave-config.h"
#include <string>

Go to the source code of this file.

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)
 
float_format native_float_format ()
 
float_format string_to_float_format (const std::string &)
 
bool words_big_endian ()
 
bool words_little_endian ()
 

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 float_format_as_string ( float_format  flt_fmt)

◆ native_float_format()

◆ string_to_float_format()

float_format string_to_float_format ( const std::string &  s)

◆ words_big_endian()

bool words_big_endian ( )

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

Referenced by F__octave_config_info__(), read_mat_file_header(), and stream::write().

◆ words_little_endian()

bool words_little_endian ( )

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

Referenced by F__octave_config_info__().