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) |
Enumerator | |
---|---|
flt_fmt_unknown | |
flt_fmt_ieee_little_endian | |
flt_fmt_ieee_big_endian |
Definition at line 37 of file mach-info.h.
std::string octave::mach_info::float_format_as_string | ( | float_format | flt_fmt | ) |
Definition at line 105 of file mach-info.cc.
References flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, and retval.
Referenced by F__octave_config_info__(), Fnative_float_format(), octave::stream_list::get_info(), and octave::stream_list::list_open_files().
|
static |
Definition at line 45 of file mach-info.cc.
References flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, flt_fmt_unknown, and octave_get_float_format().
Referenced by native_float_format().
|
static |
Definition at line 60 of file mach-info.cc.
References octave_is_big_endian().
Referenced by words_big_endian(), and words_little_endian().
float_format octave::mach_info::native_float_format | ( | void | ) |
Definition at line 65 of file mach-info.cc.
References get_float_format().
Referenced by octave::convert_and_copy(), octave::rand::do_seed(), F__octave_config_info__(), Fisieee(), Fnative_float_format(), is_little_endian(), octave_ieee_init(), pr_any_float(), read_mat5_binary_element(), save_mat_binary_data(), string_to_float_format(), and octave::load_save_system::write_header().
float_format octave::mach_info::string_to_float_format | ( | const std::string & | s | ) |
Definition at line 86 of file mach-info.cc.
References current_liboctave_error_handler, flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, flt_fmt_unknown, native_float_format(), and retval.
Referenced by do_fread(), do_fwrite(), and do_stream_open().
bool octave::mach_info::words_big_endian | ( | void | ) |
Definition at line 72 of file mach-info.cc.
References is_big_endian().
Referenced by octave::convert_data(), F__octave_config_info__(), octave::stream::finalize_read(), pr_int(), octave::read_binary_file_header(), read_mat_file_header(), octave::stream::write(), and octave::load_save_system::write_header().
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().