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

#include "oct-inttypes.h"

Inheritance diagram for octave_int_arith_base< T, true >:
octave_int_base< T >

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)
 

Detailed Description

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

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

Member Function Documentation

◆ __signbit()

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

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

References x.

◆ abs()

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

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

References x.

◆ add()

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

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

References x.

◆ div()

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

◆ lshift()

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

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

References n, and x.

◆ minus()

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

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

References x.

◆ mod()

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

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

References r, and x.

◆ mul()

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

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

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

◆ mul_internal()

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

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

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

◆ rem()

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

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

References x.

◆ rshift()

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

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

References n, and x.

◆ signum()

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

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

References x.

◆ sub()

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

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

References x.


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