GNU Octave  8.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>
Include dependency graph for mach-info.h:
This graph shows which files directly or indirectly include this file:

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

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

OCTAVE_API std::string float_format_as_string ( float_format  flt_fmt)

◆ native_float_format()

◆ string_to_float_format()

OCTAVE_API float_format string_to_float_format ( const std::string &  s)

◆ words_big_endian()

◆ words_little_endian()

OCTAVE_API bool 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().