#include "oct-inttypes.h"
Public Types | |
typedef T | val_type |
Public Member Functions | |
octave_int () | |
octave_int (bool b) | |
octave_int (const octave_int< T > &)=default | |
template<typename U > | |
octave_int (const octave_int< U > &i) | |
template<typename U > | |
octave_int (const U &i) | |
octave_int (double d) | |
octave_int (float d) | |
octave_int (T i) | |
~octave_int ()=default | |
octave_int< T > | abs () const |
bool | bool_value () const |
char | char_value () const |
double | double_value () const |
float | float_value () const |
const unsigned char * | iptr () const |
operator T () const | |
bool | 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 |
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 > &)=default |
octave_int< T > | operator>> (const int &y) const |
octave_int< T > & | operator>>= (const int &y) |
octave_int< T > | operator~ () const |
octave_int< T > | signum () const |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
const char * | type_name () |
T | value () const |
Static Public Member Functions | |
static int | byte_size () |
static octave_int< T > | max () |
static octave_int< T > | min () |
static int | nbits () |
static const char * | type_name () |
Static Public Member Functions inherited from octave_int_base< T > | |
template<typename S > | |
static T | convert_real (const S &value) |
static T | max_val () |
static T | min_val () |
template<typename S > | |
static T | truncate_int (const S &value) |
Static Public Attributes | |
static const octave_int | s_one |
static const octave_int | s_zero |
Definition at line 782 of file oct-inttypes.h.
typedef T octave_int< T >::val_type |
Definition at line 788 of file oct-inttypes.h.
|
inline |
Definition at line 790 of file oct-inttypes.h.
|
inline |
Definition at line 792 of file oct-inttypes.h.
|
inline |
Definition at line 803 of file oct-inttypes.h.
|
inline |
Definition at line 806 of file oct-inttypes.h.
|
inline |
Definition at line 816 of file oct-inttypes.h.
Definition at line 819 of file oct-inttypes.h.
|
inline |
Definition at line 823 of file oct-inttypes.h.
|
default |
|
default |
|
inline |
Definition at line 862 of file oct-inttypes.h.
|
inline |
Definition at line 841 of file oct-inttypes.h.
Referenced by operator-().
|
inlinestatic |
Definition at line 903 of file oct-inttypes.h.
|
inline |
Definition at line 843 of file oct-inttypes.h.
|
inline |
Definition at line 845 of file oct-inttypes.h.
Referenced by op_dble_prod(), op_dble_sum(), pow(), and powf().
|
inline |
Definition at line 847 of file oct-inttypes.h.
|
inline |
Definition at line 834 of file oct-inttypes.h.
|
inlinestatic |
Definition at line 899 of file oct-inttypes.h.
References max().
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inlinestatic |
Definition at line 898 of file oct-inttypes.h.
References min().
|
inlinestatic |
Definition at line 901 of file oct-inttypes.h.
|
inline |
Definition at line 849 of file oct-inttypes.h.
|
inline |
Definition at line 839 of file oct-inttypes.h.
|
inline |
Definition at line 892 of file oct-inttypes.h.
|
inline |
Definition at line 892 of file oct-inttypes.h.
|
inline |
Definition at line 890 of file oct-inttypes.h.
|
inline |
Definition at line 890 of file oct-inttypes.h.
|
inline |
Definition at line 851 of file oct-inttypes.h.
|
inline |
Definition at line 888 of file oct-inttypes.h.
|
inline |
Definition at line 888 of file oct-inttypes.h.
|
inline |
Definition at line 861 of file oct-inttypes.h.
|
inline |
Definition at line 889 of file oct-inttypes.h.
|
inline |
Definition at line 889 of file oct-inttypes.h.
|
inline |
Definition at line 891 of file oct-inttypes.h.
|
inline |
Definition at line 891 of file oct-inttypes.h.
|
inline |
Definition at line 892 of file oct-inttypes.h.
|
inline |
Definition at line 892 of file oct-inttypes.h.
|
default |
|
inline |
Definition at line 894 of file oct-inttypes.h.
|
inline |
Definition at line 894 of file oct-inttypes.h.
|
inline |
Definition at line 867 of file oct-inttypes.h.
|
inline |
Definition at line 863 of file oct-inttypes.h.
const char * octave_int< int8_t >::type_name | ( | ) |
Definition at line 47 of file oct-inttypes.cc.
const char * octave_int< int16_t >::type_name | ( | ) |
Definition at line 48 of file oct-inttypes.cc.
const char * octave_int< int32_t >::type_name | ( | ) |
Definition at line 49 of file oct-inttypes.cc.
const char * octave_int< int64_t >::type_name | ( | ) |
Definition at line 50 of file oct-inttypes.cc.
const char * octave_int< uint8_t >::type_name | ( | ) |
Definition at line 51 of file oct-inttypes.cc.
const char * octave_int< uint16_t >::type_name | ( | ) |
Definition at line 52 of file oct-inttypes.cc.
const char * octave_int< uint32_t >::type_name | ( | ) |
Definition at line 53 of file oct-inttypes.cc.
const char * octave_int< uint64_t >::type_name | ( | ) |
Definition at line 54 of file oct-inttypes.cc.
|
static |
|
inline |
Definition at line 832 of file oct-inttypes.h.
Referenced by convert_index(), mod(), operator-(), operator<<(), pow(), rem(), stream::seek(), xinit(), xmax(), and xmin().
|
static |
Definition at line 908 of file oct-inttypes.h.
|
static |
Definition at line 908 of file oct-inttypes.h.