#include "oct-inttypes-fwd.h"
Public Types | |
typedef T | val_type |
Public Member Functions | |
octave_int (void) | |
octave_int (T i) | |
octave_int (double d) | |
octave_int (float d) | |
octave_int (bool b) | |
template<typename U > | |
octave_int (const U &i) | |
template<typename U > | |
octave_int (const octave_int< U > &i) | |
octave_int (const octave_int< T > &i) | |
octave_int< T > | abs () const |
bool | bool_value (void) const |
char | char_value (void) const |
double | double_value (void) const |
float | float_value (void) const |
const unsigned char * | iptr (void) const |
void * | mex_get_data (void) const |
operator T (void) const | |
bool | operator! (void) const |
octave_int< T > | operator% (const octave_int< T > &y) const |
octave_int< T > & | operator%= (const octave_int< T > &y) |
octave_int< T > | operator* (const octave_int< T > &y) const |
octave_int< T > & | operator*= (const octave_int< T > &y) |
octave_int< T > | operator+ () const |
octave_int< T > | operator+ (const octave_int< T > &y) const |
octave_int< T > & | operator+= (const octave_int< T > &y) |
octave_int< T > | operator- () const |
octave_int< T > | operator- (const octave_int< T > &y) const |
octave_int< T > & | operator-= (const octave_int< T > &y) |
octave_int< T > | operator/ (const octave_int< T > &y) const |
octave_int< T > & | operator/= (const octave_int< T > &y) |
octave_int< T > | operator<< (const int &y) const |
octave_int< T > & | operator<<= (const int &y) |
octave_int & | operator= (const octave_int< T > &i) |
octave_int< T > | operator>> (const int &y) const |
octave_int< T > & | operator>>= (const int &y) |
octave_int< T > | signum () const |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
template<> | |
OCTAVE_API const char * | type_name () |
T | value (void) const |
Static Public Member Functions | |
static int | byte_size (void) |
template<typename S > | |
static T | convert_real (const S &value) |
static octave_int< T > | max (void) |
static T | max_val () |
static octave_int< T > | min (void) |
static T | min_val () |
static int | nbits (void) |
template<typename S > | |
static T | truncate_int (const S &value) |
static const char * | type_name () |
Static Public Attributes | |
static const octave_int | one |
static const octave_int | zero |
Private Attributes | |
T | ival |
Definition at line 28 of file oct-inttypes-fwd.h.
typedef T octave_int< T >::val_type |
Definition at line 733 of file oct-inttypes.h.
|
inline |
Definition at line 735 of file oct-inttypes.h.
|
inline |
Definition at line 737 of file oct-inttypes.h.
|
inline |
Definition at line 746 of file oct-inttypes.h.
|
inline |
Definition at line 748 of file oct-inttypes.h.
|
inline |
Definition at line 754 of file oct-inttypes.h.
Definition at line 757 of file oct-inttypes.h.
|
inline |
Definition at line 760 of file oct-inttypes.h.
|
inline |
Definition at line 763 of file oct-inttypes.h.
|
inline |
Definition at line 801 of file oct-inttypes.h.
|
inline |
Definition at line 778 of file oct-inttypes.h.
References value.
|
inlinestatic |
Definition at line 835 of file oct-inttypes.h.
|
inline |
Definition at line 780 of file oct-inttypes.h.
References value.
|
staticinherited |
Definition at line 56 of file oct-inttypes.cc.
References octave_int_base< T >::compute_threshold(), octave::math::isnan(), octave_int_base< T >::max_val(), octave_int_base< T >::min_val(), octave::math::round(), and value.
|
inline |
Definition at line 782 of file oct-inttypes.h.
References value.
Referenced by op_dble_prod(), and op_dble_sum().
|
inline |
Definition at line 784 of file oct-inttypes.h.
References value.
|
inline |
Definition at line 773 of file oct-inttypes.h.
|
inlinestatic |
Definition at line 831 of file oct-inttypes.h.
References max().
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inlinestaticinherited |
Definition at line 296 of file oct-inttypes.h.
References max().
Referenced by octave_int_arith_base< T, false >::add(), octave_int_base< T >::convert_real(), octave_int_arith_base< T, false >::div(), octave_int_arith_base< T, true >::div(), and octave_int_base< T >::truncate_int().
|
inline |
Definition at line 844 of file oct-inttypes.h.
|
inlinestatic |
Definition at line 830 of file oct-inttypes.h.
References min().
|
inlinestaticinherited |
Definition at line 295 of file oct-inttypes.h.
References min().
Referenced by octave_int_base< T >::convert_real(), octave_int_arith_base< T, true >::div(), and octave_int_base< T >::truncate_int().
|
inlinestatic |
Definition at line 833 of file oct-inttypes.h.
|
inline |
Definition at line 786 of file oct-inttypes.h.
References value.
|
inline |
Definition at line 776 of file oct-inttypes.h.
|
inline |
Definition at line 824 of file oct-inttypes.h.
|
inline |
Definition at line 824 of file oct-inttypes.h.
|
inline |
Definition at line 822 of file oct-inttypes.h.
|
inline |
Definition at line 822 of file oct-inttypes.h.
|
inline |
Definition at line 789 of file oct-inttypes.h.
|
inline |
Definition at line 820 of file oct-inttypes.h.
|
inline |
Definition at line 820 of file oct-inttypes.h.
|
inline |
Definition at line 800 of file oct-inttypes.h.
|
inline |
Definition at line 821 of file oct-inttypes.h.
|
inline |
Definition at line 821 of file oct-inttypes.h.
|
inline |
Definition at line 823 of file oct-inttypes.h.
|
inline |
Definition at line 823 of file oct-inttypes.h.
|
inline |
Definition at line 825 of file oct-inttypes.h.
|
inline |
Definition at line 825 of file oct-inttypes.h.
|
inline |
Definition at line 765 of file oct-inttypes.h.
References i.
|
inline |
Definition at line 826 of file oct-inttypes.h.
|
inline |
Definition at line 826 of file oct-inttypes.h.
|
inline |
Definition at line 802 of file oct-inttypes.h.
|
inlinestaticinherited |
Definition at line 301 of file oct-inttypes.h.
References octave_int_base< T >::max_val(), octave_int_base< T >::min_val(), and value.
Referenced by octave_int_arith_base< T, false >::mul_internal(), and octave_int_arith_base< T, true >::mul_internal().
OCTAVE_API const char * octave_int< int8_t >::type_name | ( | void | ) |
Definition at line 44 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< int16_t >::type_name | ( | void | ) |
Definition at line 45 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< int32_t >::type_name | ( | void | ) |
Definition at line 46 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< int64_t >::type_name | ( | void | ) |
Definition at line 47 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< uint8_t >::type_name | ( | void | ) |
Definition at line 48 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< uint16_t >::type_name | ( | void | ) |
Definition at line 49 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< uint32_t >::type_name | ( | void | ) |
Definition at line 50 of file oct-inttypes.cc.
OCTAVE_API const char * octave_int< uint64_t >::type_name | ( | void | ) |
Definition at line 51 of file oct-inttypes.cc.
|
static |
|
inline |
Definition at line 771 of file oct-inttypes.h.
Referenced by octave::base_stream::do_numeric_printf_conv(), and octave::ok_for_signed_int_conv().
|
private |
Definition at line 848 of file oct-inttypes.h.
|
static |
Definition at line 840 of file oct-inttypes.h.
|
static |
Definition at line 840 of file oct-inttypes.h.
Referenced by operator*().