#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 | |
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) |
enum 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.
OCTAVE_API std::string float_format_as_string | ( | float_format | flt_fmt | ) |
Definition at line 105 of file mach-info.cc.
References flt_fmt_ieee_big_endian, and flt_fmt_ieee_little_endian.
Referenced by F__octave_config_info__(), Fnative_float_format(), stream_list::get_info(), and stream_list::list_open_files().
OCTAVE_API float_format native_float_format | ( | void | ) |
Definition at line 65 of file mach-info.cc.
References get_float_format().
Referenced by convert_and_copy(), 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 load_save_system::write_header().
OCTAVE_API float_format 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, and native_float_format().
Referenced by do_fread(), do_fwrite(), and do_stream_open().
OCTAVE_API bool words_big_endian | ( | void | ) |
Definition at line 72 of file mach-info.cc.
References is_big_endian().
Referenced by convert_data(), F__octave_config_info__(), stream::finalize_read(), pr_int(), read_binary_file_header(), read_mat_file_header(), stream::write(), and load_save_system::write_header().
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().