GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_int_arith_base< T, false > Class Template Reference

#include "oct-inttypes.h"

Inheritance diagram for octave_int_arith_base< T, false >:
Collaboration diagram for octave_int_arith_base< T, false >:

Static Public Member Functions

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)
 
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)
 

Static Private Member Functions

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)
 

Detailed Description

template<typename T>
class octave_int_arith_base< T, false >

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

Member Function Documentation

◆ abs()

template<typename T >
static T octave_int_arith_base< T, false >::abs ( x)
inlinestatic

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

References x.

◆ add()

template<typename T >
static T octave_int_arith_base< T, false >::add ( x,
y 
)
inlinestatic

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

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

◆ convert_real()

template<class T >
template<class S >
template OCTAVE_API uint64_t octave_int_base< T >::convert_real ( const S &  value)
staticinherited

◆ div()

template<typename T >
static T octave_int_arith_base< T, false >::div ( x,
y 
)
inlinestatic

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

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

◆ lshift()

template<typename T >
static T octave_int_arith_base< T, false >::lshift ( x,
int  n 
)
inlinestatic

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

References x.

◆ max_val()

template<typename T >
static T octave_int_base< T >::max_val ( )
inlinestaticinherited

◆ min_val()

template<typename T >
static T octave_int_base< T >::min_val ( )
inlinestaticinherited

◆ minus()

template<typename T >
static T octave_int_arith_base< T, false >::minus ( )
inlinestatic

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

◆ mod()

template<typename T >
static T octave_int_arith_base< T, false >::mod ( x,
y 
)
inlinestatic

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

References x, and y.

◆ mul()

template<typename T >
static T octave_int_arith_base< T, false >::mul ( x,
y 
)
inlinestatic

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

References octave_int_arith_base< T, is_signed >::mul_internal(), x, and y.

◆ mul_internal()

template<typename T >
static T octave_int_arith_base< T, false >::mul_internal ( x,
y 
)
inlinestatic

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

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

◆ rem()

template<typename T >
static T octave_int_arith_base< T, false >::rem ( x,
y 
)
inlinestatic

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

References x, and y.

◆ rshift()

template<typename T >
static T octave_int_arith_base< T, false >::rshift ( x,
int  n 
)
inlinestatic

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

References x.

◆ signum()

template<typename T >
static T octave_int_arith_base< T, false >::signum ( x)
inlinestatic

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

References x.

◆ sub()

template<typename T >
static T octave_int_arith_base< T, false >::sub ( x,
y 
)
inlinestatic

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

References u, x, and y.

◆ truncate_int()

template<typename T >
template<typename S >
static T octave_int_base< T >::truncate_int ( const S &  value)
inlinestaticinherited

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