GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Static Public Member Functions | Private Types | Static Private Member Functions | List of all members
octave_int_arith_base< T, true > Class Template Reference

#include "oct-inttypes.h"

Inheritance diagram for octave_int_arith_base< T, true >:
Inheritance graph
[legend]
Collaboration diagram for octave_int_arith_base< T, true >:
Collaboration graph
[legend]

Static Public Member Functions

static T __signbit (T x)
 
static T abs (T x)
 
static T add (T x, T y)
 
static T div (T x, T y)
 
static T lshift (T x, int n)
 
static T minus (T x)
 
static T mod (T x, T y)
 
static T mul (T x, T y)
 
static T mul_internal (T x, T y)
 
static T rem (T x, T y)
 
static T rshift (T x, int n)
 
static T signum (T x)
 
static T sub (T x, T y)
 

Private Types

typedef query_integer_type
< sizeof(T), false >::type 
UT
 

Static Private Member Functions

template<class S >
static T convert_real (const S &value)
 
static T max_val ()
 
static T min_val ()
 
template<class S >
static T truncate_int (const S &value)
 

Detailed Description

template<class T>
class octave_int_arith_base< T, true >

Definition at line 521 of file oct-inttypes.h.

Member Typedef Documentation

template<class T >
typedef query_integer_type<sizeof (T), false>::type octave_int_arith_base< T, true >::UT
private

Definition at line 524 of file oct-inttypes.h.

Member Function Documentation

template<class T >
static T octave_int_arith_base< T, true >::__signbit ( x)
inlinestatic

Definition at line 529 of file oct-inttypes.h.

References x.

template<class T >
static T octave_int_arith_base< T, true >::abs ( x)
inlinestatic

Definition at line 539 of file oct-inttypes.h.

References octave_int_base< T >::max_val().

template<class T >
static T octave_int_arith_base< T, true >::add ( x,
y 
)
inlinestatic
template<class T >
template<class S >
static T octave_int_base< T >::convert_real ( const S &  value)
inlinestaticinherited
template<class T >
static T octave_int_arith_base< T, true >::div ( x,
y 
)
inlinestatic
template<class T >
static T octave_int_arith_base< T, true >::lshift ( x,
int  n 
)
inlinestatic

Definition at line 584 of file oct-inttypes.h.

template<class T >
static T octave_int_base< T >::max_val ( )
inlinestaticinherited
template<class T >
static T octave_int_base< T >::min_val ( )
inlinestaticinherited
template<class T >
static T octave_int_arith_base< T, true >::minus ( x)
inlinestatic

Definition at line 588 of file oct-inttypes.h.

References octave_int_base< T >::max_val(), and x.

template<class T >
static T octave_int_arith_base< T, true >::mod ( x,
y 
)
inlinestatic

Definition at line 759 of file oct-inttypes.h.

References x.

template<class T >
static T octave_int_arith_base< T, true >::mul ( x,
y 
)
inlinestatic
template<class T >
static T octave_int_arith_base< T, true >::mul_internal ( x,
y 
)
inlinestatic

Definition at line 698 of file oct-inttypes.h.

References octave_int_base< T >::truncate_int().

template<class T >
static T octave_int_arith_base< T, true >::rem ( x,
y 
)
inlinestatic

Definition at line 752 of file oct-inttypes.h.

template<class T >
static T octave_int_arith_base< T, true >::rshift ( x,
int  n 
)
inlinestatic

Definition at line 581 of file oct-inttypes.h.

template<class T >
static T octave_int_arith_base< T, true >::signum ( x)
inlinestatic

Definition at line 570 of file oct-inttypes.h.

template<class T >
static T octave_int_arith_base< T, true >::sub ( x,
y 
)
inlinestatic
template<class T >
template<class S >
static T octave_int_base< T >::truncate_int ( const S &  value)
inlinestaticinherited

The documentation for this class was generated from the following file: