GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-inttypes.cc File Reference
#include "fpucw-wrappers.h"
#include "lo-error.h"
#include "oct-inttypes.h"
Include dependency graph for oct-inttypes.cc:

Go to the source code of this file.

Classes

class  rev_op< xop >
 
class  rev_op< octave_int_cmp_op::ge >
 
class  rev_op< octave_int_cmp_op::gt >
 
class  rev_op< octave_int_cmp_op::le >
 
class  rev_op< octave_int_cmp_op::lt >
 

Macros

#define DEFINE_OCTAVE_INT_TYPENAME(TYPE, TYPENAME)
 
#define DEFINE_REVERTED_OPERATOR(OP1, OP2)
 
#define INSTANTIATE_CONVERT_REAL(S)
 
#define INSTANTIATE_CONVERT_REAL_1(T, S)
 
#define INSTANTIATE_INT64_DOUBLE_CMP_OP(OP)
 
#define INSTANTIATE_INT64_DOUBLE_CMP_OP0(OP, T1, T2)
 
#define INSTANTIATE_INTTYPE(T)
 

Functions

template OCTAVE_API octave_int< int16_t > bitshift (const octave_int< int16_t > &, int, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > bitshift (const octave_int< int32_t > &, int, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int64_t > bitshift (const octave_int< int64_t > &, int, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int8_t > bitshift (const octave_int< int8_t > &, int, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< uint16_t > bitshift (const octave_int< uint16_t > &, int, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint32_t > bitshift (const octave_int< uint32_t > &, int, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint64_t > bitshift (const octave_int< uint64_t > &, int, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint8_t > bitshift (const octave_int< uint8_t > &, int, const octave_int< uint8_t > &)
 
static double dbleget (bool sign, uint32_t mtis, int exp)
 
static void dblesplit (double x, bool &sign, uint64_t &mtis, int &exp)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > (uint64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > (uint64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > (uint64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > (uint64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > (uint64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > (double x, int64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > (double x, uint64_t y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > (int64_t x, double y)
 
template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > (uint64_t x, double y)
 
template<>
OCTAVE_API octave_int64 operator* (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator* (const double &x, const octave_uint64 &y)
 
template<>
OCTAVE_API octave_int64 operator* (const octave_int64 &x, const double &y)
 
template<>
OCTAVE_API octave_uint64 operator* (const octave_uint64 &x, const double &y)
 
template<>
OCTAVE_API octave_int64 operator+ (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator+ (const double &x, const octave_uint64 &y)
 
template<>
OCTAVE_API octave_int64 operator+ (const octave_int64 &x, const double &y)
 
template<>
OCTAVE_API octave_uint64 operator+ (const octave_uint64 &x, const double &y)
 
template<>
OCTAVE_API octave_int64 operator- (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator- (const double &x, const octave_uint64 &y)
 
template<>
OCTAVE_API octave_int64 operator- (const octave_int64 &x, const double &y)
 
template<>
OCTAVE_API octave_uint64 operator- (const octave_uint64 &x, const double &y)
 
template<>
OCTAVE_API octave_int64 operator/ (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator/ (const double &x, const octave_uint64 &y)
 
template<>
OCTAVE_API octave_int64 operator/ (const octave_int64 &x, const double &y)
 
template<>
OCTAVE_API octave_uint64 operator/ (const octave_uint64 &x, const double &y)
 
template OCTAVE_API octave_int< int16_t > pow (const double &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const double &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int64_t > pow (const double &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int8_t > pow (const double &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const double &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint32_t > pow (const double &, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint64_t > pow (const double &, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint8_t > pow (const double &, const octave_int< uint8_t > &)
 
template<typename T >
octave_int< T > pow (const double &a, const octave_int< T > &b)
 
template OCTAVE_API octave_int< int16_t > pow (const float &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const float &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int64_t > pow (const float &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int8_t > pow (const float &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const float &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint32_t > pow (const float &, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint64_t > pow (const float &, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint8_t > pow (const float &, const octave_int< uint8_t > &)
 
template<typename T >
octave_int< T > pow (const float &a, const octave_int< T > &b)
 
template OCTAVE_API octave_int< int16_t > pow (const octave_int< int16_t > &, const double &)
 
template OCTAVE_API octave_int< int16_t > pow (const octave_int< int16_t > &, const float &)
 
template OCTAVE_API octave_int< int16_t > pow (const octave_int< int16_t > &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const octave_int< int32_t > &, const double &)
 
template OCTAVE_API octave_int< int32_t > pow (const octave_int< int32_t > &, const float &)
 
template OCTAVE_API octave_int< int32_t > pow (const octave_int< int32_t > &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int64_t > pow (const octave_int< int64_t > &, const double &)
 
template OCTAVE_API octave_int< int64_t > pow (const octave_int< int64_t > &, const float &)
 
template OCTAVE_API octave_int< int64_t > pow (const octave_int< int64_t > &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int8_t > pow (const octave_int< int8_t > &, const double &)
 
template OCTAVE_API octave_int< int8_t > pow (const octave_int< int8_t > &, const float &)
 
template OCTAVE_API octave_int< int8_t > pow (const octave_int< int8_t > &, const octave_int< int8_t > &)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const double &b)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const float &b)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const octave_int< T > &b)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const double &)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const float &)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint32_t > pow (const octave_int< uint32_t > &, const double &)
 
template OCTAVE_API octave_int< uint32_t > pow (const octave_int< uint32_t > &, const float &)
 
template OCTAVE_API octave_int< uint32_t > pow (const octave_int< uint32_t > &, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint64_t > pow (const octave_int< uint64_t > &, const double &)
 
template OCTAVE_API octave_int< uint64_t > pow (const octave_int< uint64_t > &, const float &)
 
template OCTAVE_API octave_int< uint64_t > pow (const octave_int< uint64_t > &, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint8_t > pow (const octave_int< uint8_t > &, const double &)
 
template OCTAVE_API octave_int< uint8_t > pow (const octave_int< uint8_t > &, const float &)
 
template OCTAVE_API octave_int< uint8_t > pow (const octave_int< uint8_t > &, const octave_int< uint8_t > &)
 
template OCTAVE_API octave_int< int16_t > powf (const float &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > powf (const float &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int64_t > powf (const float &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int8_t > powf (const float &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< uint16_t > powf (const float &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint32_t > powf (const float &, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint64_t > powf (const float &, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint8_t > powf (const float &, const octave_int< uint8_t > &)
 
template<typename T >
octave_int< T > powf (const float &a, const octave_int< T > &b)
 
template OCTAVE_API octave_int< int16_t > powf (const octave_int< int16_t > &, const float &)
 
template OCTAVE_API octave_int< int32_t > powf (const octave_int< int32_t > &, const float &)
 
template OCTAVE_API octave_int< int64_t > powf (const octave_int< int64_t > &, const float &)
 
template OCTAVE_API octave_int< int8_t > powf (const octave_int< int8_t > &, const float &)
 
template<typename T >
octave_int< T > powf (const octave_int< T > &a, const float &b)
 
template OCTAVE_API octave_int< uint16_t > powf (const octave_int< uint16_t > &, const float &)
 
template OCTAVE_API octave_int< uint32_t > powf (const octave_int< uint32_t > &, const float &)
 
template OCTAVE_API octave_int< uint64_t > powf (const octave_int< uint64_t > &, const float &)
 
template OCTAVE_API octave_int< uint8_t > powf (const octave_int< uint8_t > &, const float &)
 
static void umul128 (uint64_t x, uint64_t y, uint32_t w[4])
 

Variables

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int16_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int32_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int64_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int8_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint16_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint32_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint64_t >
 
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint8_t >
 

Macro Definition Documentation

◆ DEFINE_OCTAVE_INT_TYPENAME

#define DEFINE_OCTAVE_INT_TYPENAME (   TYPE,
  TYPENAME 
)
Value:
template <> \
OCTAVE_API const char * \
octave_int<TYPE>::type_name (void) { return TYPENAME; }
static const OCTAVE_API char * type_name()

Definition at line 42 of file oct-inttypes.cc.

◆ DEFINE_REVERTED_OPERATOR

#define DEFINE_REVERTED_OPERATOR (   OP1,
  OP2 
)
Value:
template <> \
{ \
public: \
typedef octave_int_cmp_op::OP2 op; \
}

Definition at line 291 of file oct-inttypes.cc.

◆ INSTANTIATE_CONVERT_REAL

#define INSTANTIATE_CONVERT_REAL (   S)
Value:
INSTANTIATE_CONVERT_REAL_1 (uint8_t, S); \
INSTANTIATE_CONVERT_REAL_1 (int16_t, S); \
INSTANTIATE_CONVERT_REAL_1 (uint16_t, S); \
INSTANTIATE_CONVERT_REAL_1 (int32_t, S); \
INSTANTIATE_CONVERT_REAL_1 (uint32_t, S); \
INSTANTIATE_CONVERT_REAL_1 (int64_t, S); \
INSTANTIATE_CONVERT_REAL_1 (uint64_t, S)
#define INSTANTIATE_CONVERT_REAL_1(T, S)
Definition: oct-inttypes.cc:79

Definition at line 85 of file oct-inttypes.cc.

◆ INSTANTIATE_CONVERT_REAL_1

#define INSTANTIATE_CONVERT_REAL_1 (   T,
 
)
Value:
template \
OCTAVE_API \
T \
octave_int_base<T>::convert_real (const S&)

Definition at line 79 of file oct-inttypes.cc.

◆ INSTANTIATE_INT64_DOUBLE_CMP_OP

#define INSTANTIATE_INT64_DOUBLE_CMP_OP (   OP)
Value:
INSTANTIATE_INT64_DOUBLE_CMP_OP0 (OP, double, int64_t); \
INSTANTIATE_INT64_DOUBLE_CMP_OP0 (OP, double, uint64_t); \
INSTANTIATE_INT64_DOUBLE_CMP_OP0 (OP, int64_t, double); \
INSTANTIATE_INT64_DOUBLE_CMP_OP0 (OP, uint64_t, double)
#define INSTANTIATE_INT64_DOUBLE_CMP_OP0(OP, T1, T2)

Definition at line 723 of file oct-inttypes.cc.

◆ INSTANTIATE_INT64_DOUBLE_CMP_OP0

#define INSTANTIATE_INT64_DOUBLE_CMP_OP0 (   OP,
  T1,
  T2 
)
Value:
template OCTAVE_API bool \
octave_int_cmp_op::emulate_mop<octave_int_cmp_op::OP> (T1 x, T2 y)
F77_RET_T const F77_DBLE * x
#define OCTAVE_API
Definition: main.in.cc:55

Definition at line 719 of file oct-inttypes.cc.

◆ INSTANTIATE_INTTYPE

#define INSTANTIATE_INTTYPE (   T)
Value:
template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int<T>; \
\
pow (const octave_int<T>&, const octave_int<T>&); \
\
pow (const double&, const octave_int<T>&); \
\
pow (const octave_int<T>&, const double&); \
\
pow (const float&, const octave_int<T>&); \
\
pow (const octave_int<T>&, const float&); \
\
powf (const float&, const octave_int<T>&); \
\
powf (const octave_int<T>&, const float&); \
\
bitshift (const octave_int<T>&, int, const octave_int<T>&);
template OCTAVE_API octave_int< int8_t > bitshift(const octave_int< int8_t > &, int, const octave_int< int8_t > &)
octave_int< T > powf(const float &a, const octave_int< T > &b)
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)

Definition at line 829 of file oct-inttypes.cc.

Function Documentation

◆ bitshift() [1/8]

template OCTAVE_API octave_int< int16_t > bitshift ( const octave_int< int16_t > &  ,
int  ,
const octave_int< int16_t > &   
)

◆ bitshift() [2/8]

template OCTAVE_API octave_int< int32_t > bitshift ( const octave_int< int32_t > &  ,
int  ,
const octave_int< int32_t > &   
)

◆ bitshift() [3/8]

template OCTAVE_API octave_int< int64_t > bitshift ( const octave_int< int64_t > &  ,
int  ,
const octave_int< int64_t > &   
)

◆ bitshift() [4/8]

template OCTAVE_API octave_int< int8_t > bitshift ( const octave_int< int8_t > &  ,
int  ,
const octave_int< int8_t > &   
)

◆ bitshift() [5/8]

template OCTAVE_API octave_int< uint16_t > bitshift ( const octave_int< uint16_t > &  ,
int  ,
const octave_int< uint16_t > &   
)

◆ bitshift() [6/8]

template OCTAVE_API octave_int< uint32_t > bitshift ( const octave_int< uint32_t > &  ,
int  ,
const octave_int< uint32_t > &   
)

◆ bitshift() [7/8]

template OCTAVE_API octave_int< uint64_t > bitshift ( const octave_int< uint64_t > &  ,
int  ,
const octave_int< uint64_t > &   
)

◆ bitshift() [8/8]

template OCTAVE_API octave_int< uint8_t > bitshift ( const octave_int< uint8_t > &  ,
int  ,
const octave_int< uint8_t > &   
)

◆ dbleget()

static double dbleget ( bool  sign,
uint32_t  mtis,
int  exp 
)
static

Definition at line 596 of file oct-inttypes.cc.

References x.

Referenced by operator*().

◆ dblesplit()

static void dblesplit ( double  x,
bool &  sign,
uint64_t &  mtis,
int &  exp 
)
static

Definition at line 585 of file oct-inttypes.cc.

References frexp(), and x.

Referenced by operator*().

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::eq > ( uint64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ge > ( uint64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::gt > ( uint64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::le > ( uint64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::lt > ( uint64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne >() [1/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > ( double  x,
int64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne >() [2/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > ( double  x,
uint64_t  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne >() [3/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > ( int64_t  x,
double  y 
)

◆ octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne >() [4/4]

template OCTAVE_API bool octave_int_cmp_op::emulate_mop< octave_int_cmp_op::ne > ( uint64_t  x,
double  y 
)

◆ operator*() [1/4]

template<>
OCTAVE_API octave_int64 operator* ( const double &  x,
const octave_int64 y 
)

Definition at line 674 of file oct-inttypes.cc.

References x.

◆ operator*() [2/4]

template<>
OCTAVE_API octave_uint64 operator* ( const double &  x,
const octave_uint64 y 
)

Definition at line 635 of file oct-inttypes.cc.

References x.

◆ operator*() [3/4]

template<>
OCTAVE_API octave_int64 operator* ( const octave_int64 x,
const double &  y 
)

◆ operator*() [4/4]

template<>
OCTAVE_API octave_uint64 operator* ( const octave_uint64 x,
const double &  y 
)

◆ operator+() [1/4]

template<>
OCTAVE_API octave_int64 operator+ ( const double &  x,
const octave_int64 y 
)

Definition at line 494 of file oct-inttypes.cc.

References x.

◆ operator+() [2/4]

template<>
OCTAVE_API octave_uint64 operator+ ( const double &  x,
const octave_uint64 y 
)

Definition at line 464 of file oct-inttypes.cc.

References x.

◆ operator+() [3/4]

template<>
OCTAVE_API octave_int64 operator+ ( const octave_int64 x,
const double &  y 
)

Definition at line 471 of file oct-inttypes.cc.

References octave_int< T >::max(), and x.

◆ operator+() [4/4]

template<>
OCTAVE_API octave_uint64 operator+ ( const octave_uint64 x,
const double &  y 
)

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

References x.

◆ operator-() [1/4]

template<>
OCTAVE_API octave_int64 operator- ( const double &  x,
const octave_int64 y 
)

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

References max(), min(), pow(), octave_int< T >::value(), and x.

◆ operator-() [2/4]

template<>
OCTAVE_API octave_uint64 operator- ( const double &  x,
const octave_uint64 y 
)

◆ operator-() [3/4]

template<>
OCTAVE_API octave_int64 operator- ( const octave_int64 x,
const double &  y 
)

Definition at line 532 of file oct-inttypes.cc.

References x.

◆ operator-() [4/4]

template<>
OCTAVE_API octave_uint64 operator- ( const octave_uint64 x,
const double &  y 
)

Definition at line 501 of file oct-inttypes.cc.

References x.

◆ operator/() [1/4]

template<>
OCTAVE_API octave_int64 operator/ ( const double &  x,
const octave_int64 y 
)

Definition at line 688 of file oct-inttypes.cc.

References x.

◆ operator/() [2/4]

template<>
OCTAVE_API octave_uint64 operator/ ( const double &  x,
const octave_uint64 y 
)

Definition at line 681 of file oct-inttypes.cc.

References x.

◆ operator/() [3/4]

template<>
OCTAVE_API octave_int64 operator/ ( const octave_int64 x,
const double &  y 
)

Definition at line 708 of file oct-inttypes.cc.

References fix(), octave_int< T >::max(), and x.

◆ operator/() [4/4]

template<>
OCTAVE_API octave_uint64 operator/ ( const octave_uint64 x,
const double &  y 
)

Definition at line 695 of file oct-inttypes.cc.

References fix(), octave_int< T >::max(), and x.

◆ pow() [1/45]

template OCTAVE_API octave_int< int16_t > pow ( const double &  ,
const octave_int< int16_t > &   
)

◆ pow() [2/45]

template OCTAVE_API octave_int< int32_t > pow ( const double &  ,
const octave_int< int32_t > &   
)

◆ pow() [3/45]

template OCTAVE_API octave_int< int64_t > pow ( const double &  ,
const octave_int< int64_t > &   
)

◆ pow() [4/45]

template OCTAVE_API octave_int< int8_t > pow ( const double &  ,
const octave_int< int8_t > &   
)

◆ pow() [5/45]

template OCTAVE_API octave_int< uint16_t > pow ( const double &  ,
const octave_int< uint16_t > &   
)

◆ pow() [6/45]

template OCTAVE_API octave_int< uint32_t > pow ( const double &  ,
const octave_int< uint32_t > &   
)

◆ pow() [7/45]

template OCTAVE_API octave_int< uint64_t > pow ( const double &  ,
const octave_int< uint64_t > &   
)

◆ pow() [8/45]

template OCTAVE_API octave_int< uint8_t > pow ( const double &  ,
const octave_int< uint8_t > &   
)

◆ pow() [9/45]

template<typename T >
octave_int<T> pow ( const double &  a,
const octave_int< T > &  b 
)

Definition at line 782 of file oct-inttypes.cc.

References octave_int< T >::double_value(), and pow().

◆ pow() [10/45]

template OCTAVE_API octave_int< int16_t > pow ( const float &  ,
const octave_int< int16_t > &   
)

◆ pow() [11/45]

template OCTAVE_API octave_int< int32_t > pow ( const float &  ,
const octave_int< int32_t > &   
)

◆ pow() [12/45]

template OCTAVE_API octave_int< int64_t > pow ( const float &  ,
const octave_int< int64_t > &   
)

◆ pow() [13/45]

template OCTAVE_API octave_int< int8_t > pow ( const float &  ,
const octave_int< int8_t > &   
)

◆ pow() [14/45]

template OCTAVE_API octave_int< uint16_t > pow ( const float &  ,
const octave_int< uint16_t > &   
)

◆ pow() [15/45]

template OCTAVE_API octave_int< uint32_t > pow ( const float &  ,
const octave_int< uint32_t > &   
)

◆ pow() [16/45]

template OCTAVE_API octave_int< uint64_t > pow ( const float &  ,
const octave_int< uint64_t > &   
)

◆ pow() [17/45]

template OCTAVE_API octave_int< uint8_t > pow ( const float &  ,
const octave_int< uint8_t > &   
)

◆ pow() [18/45]

template<typename T >
octave_int<T> pow ( const float &  a,
const octave_int< T > &  b 
)

Definition at line 797 of file oct-inttypes.cc.

References octave_int< T >::float_value(), and pow().

◆ pow() [19/45]

template OCTAVE_API octave_int< int16_t > pow ( const octave_int< int16_t > &  ,
const double &   
)

◆ pow() [20/45]

template OCTAVE_API octave_int< int16_t > pow ( const octave_int< int16_t > &  ,
const float &   
)

◆ pow() [21/45]

template OCTAVE_API octave_int< int16_t > pow ( const octave_int< int16_t > &  ,
const octave_int< int16_t > &   
)

◆ pow() [22/45]

template OCTAVE_API octave_int< int32_t > pow ( const octave_int< int32_t > &  ,
const double &   
)

◆ pow() [23/45]

template OCTAVE_API octave_int< int32_t > pow ( const octave_int< int32_t > &  ,
const float &   
)

◆ pow() [24/45]

template OCTAVE_API octave_int< int32_t > pow ( const octave_int< int32_t > &  ,
const octave_int< int32_t > &   
)

◆ pow() [25/45]

template OCTAVE_API octave_int< int64_t > pow ( const octave_int< int64_t > &  ,
const double &   
)

◆ pow() [26/45]

template OCTAVE_API octave_int< int64_t > pow ( const octave_int< int64_t > &  ,
const float &   
)

◆ pow() [27/45]

template OCTAVE_API octave_int< int64_t > pow ( const octave_int< int64_t > &  ,
const octave_int< int64_t > &   
)

◆ pow() [28/45]

template OCTAVE_API octave_int< int8_t > pow ( const octave_int< int8_t > &  ,
const double &   
)

◆ pow() [29/45]

template OCTAVE_API octave_int< int8_t > pow ( const octave_int< int8_t > &  ,
const float &   
)

◆ pow() [30/45]

template OCTAVE_API octave_int< int8_t > pow ( const octave_int< int8_t > &  ,
const octave_int< int8_t > &   
)

◆ pow() [31/45]

template<typename T >
octave_int<T> pow ( const octave_int< T > &  a,
const double &  b 
)

Definition at line 787 of file oct-inttypes.cc.

References octave_int< T >::double_value(), fix(), and pow().

◆ pow() [32/45]

template<typename T >
octave_int<T> pow ( const octave_int< T > &  a,
const float &  b 
)

Definition at line 802 of file oct-inttypes.cc.

References octave_int< T >::double_value(), fix(), and pow().

◆ pow() [33/45]

template<typename T >
octave_int<T> pow ( const octave_int< T > &  a,
const octave_int< T > &  b 
)

Definition at line 740 of file oct-inttypes.cc.

References octave_int< T >::value().

Referenced by norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), do_translate(), do_zoom(), elem_dual_p(), elem_xpow(), eps(), higham_subp(), install_cm_cm_ops(), install_cm_cs_ops(), install_cm_m_ops(), install_cm_s_ops(), install_cm_scm_ops(), install_cm_sm_ops(), install_cs_cm_ops(), install_cs_cs_ops(), install_cs_m_ops(), install_cs_s_ops(), install_cs_scm_ops(), install_cs_sm_ops(), install_fcm_fcm_ops(), install_fcm_fcs_ops(), install_fcm_fm_ops(), install_fcm_fs_ops(), install_fcs_fcm_ops(), install_fcs_fcs_ops(), install_fcs_fm_ops(), install_fcs_fs_ops(), install_fm_fcm_ops(), install_fm_fcs_ops(), install_fm_fm_ops(), install_fm_fs_ops(), install_fs_fcm_ops(), install_fs_fcs_ops(), install_fs_fm_ops(), install_fs_fs_ops(), install_m_cm_ops(), install_m_cs_ops(), install_m_m_ops(), install_m_s_ops(), install_m_scm_ops(), install_m_sm_ops(), install_pm_pm_ops(), install_s_cm_ops(), install_s_cs_ops(), install_s_m_ops(), install_s_s_ops(), install_s_scm_ops(), install_s_sm_ops(), install_scm_cm_ops(), install_scm_cs_ops(), install_scm_m_ops(), install_scm_s_ops(), install_scm_scm_ops(), install_scm_sm_ops(), install_sm_cm_ops(), install_sm_cs_ops(), install_sm_m_ops(), install_sm_s_ops(), install_sm_scm_ops(), install_sm_sm_ops(), magform(), make_complex_matrix_format(), make_range_format(), make_real_matrix_format(), pr_engineering_float< T >::mantissa(), mx_inline_pow(), norm_accumulator_p< R >::operator R(), norm_accumulator_mp< R >::operator R(), operator-(), pow(), powf(), xpow(), and xpsi().

◆ pow() [34/45]

template OCTAVE_API octave_int< uint16_t > pow ( const octave_int< uint16_t > &  ,
const double &   
)

◆ pow() [35/45]

template OCTAVE_API octave_int< uint16_t > pow ( const octave_int< uint16_t > &  ,
const float &   
)

◆ pow() [36/45]

template OCTAVE_API octave_int< uint16_t > pow ( const octave_int< uint16_t > &  ,
const octave_int< uint16_t > &   
)

◆ pow() [37/45]

template OCTAVE_API octave_int< uint32_t > pow ( const octave_int< uint32_t > &  ,
const double &   
)

◆ pow() [38/45]

template OCTAVE_API octave_int< uint32_t > pow ( const octave_int< uint32_t > &  ,
const float &   
)

◆ pow() [39/45]

template OCTAVE_API octave_int< uint32_t > pow ( const octave_int< uint32_t > &  ,
const octave_int< uint32_t > &   
)

◆ pow() [40/45]

template OCTAVE_API octave_int< uint64_t > pow ( const octave_int< uint64_t > &  ,
const double &   
)

◆ pow() [41/45]

template OCTAVE_API octave_int< uint64_t > pow ( const octave_int< uint64_t > &  ,
const float &   
)

◆ pow() [42/45]

template OCTAVE_API octave_int< uint64_t > pow ( const octave_int< uint64_t > &  ,
const octave_int< uint64_t > &   
)

◆ pow() [43/45]

template OCTAVE_API octave_int< uint8_t > pow ( const octave_int< uint8_t > &  ,
const double &   
)

◆ pow() [44/45]

template OCTAVE_API octave_int< uint8_t > pow ( const octave_int< uint8_t > &  ,
const float &   
)

◆ pow() [45/45]

template OCTAVE_API octave_int< uint8_t > pow ( const octave_int< uint8_t > &  ,
const octave_int< uint8_t > &   
)

◆ powf() [1/18]

template OCTAVE_API octave_int< int16_t > powf ( const float &  ,
const octave_int< int16_t > &   
)

◆ powf() [2/18]

template OCTAVE_API octave_int< int32_t > powf ( const float &  ,
const octave_int< int32_t > &   
)

◆ powf() [3/18]

template OCTAVE_API octave_int< int64_t > powf ( const float &  ,
const octave_int< int64_t > &   
)

◆ powf() [4/18]

template OCTAVE_API octave_int< int8_t > powf ( const float &  ,
const octave_int< int8_t > &   
)

◆ powf() [5/18]

template OCTAVE_API octave_int< uint16_t > powf ( const float &  ,
const octave_int< uint16_t > &   
)

◆ powf() [6/18]

template OCTAVE_API octave_int< uint32_t > powf ( const float &  ,
const octave_int< uint32_t > &   
)

◆ powf() [7/18]

template OCTAVE_API octave_int< uint64_t > powf ( const float &  ,
const octave_int< uint64_t > &   
)

◆ powf() [8/18]

template OCTAVE_API octave_int< uint8_t > powf ( const float &  ,
const octave_int< uint8_t > &   
)

◆ powf() [9/18]

template<typename T >
octave_int<T> powf ( const float &  a,
const octave_int< T > &  b 
)

Definition at line 815 of file oct-inttypes.cc.

References octave_int< T >::float_value(), and pow().

◆ powf() [10/18]

template OCTAVE_API octave_int< int16_t > powf ( const octave_int< int16_t > &  ,
const float &   
)

◆ powf() [11/18]

template OCTAVE_API octave_int< int32_t > powf ( const octave_int< int32_t > &  ,
const float &   
)

◆ powf() [12/18]

template OCTAVE_API octave_int< int64_t > powf ( const octave_int< int64_t > &  ,
const float &   
)

◆ powf() [13/18]

template OCTAVE_API octave_int< int8_t > powf ( const octave_int< int8_t > &  ,
const float &   
)

◆ powf() [14/18]

template<typename T >
octave_int<T> powf ( const octave_int< T > &  a,
const float &  b 
)

Definition at line 820 of file oct-inttypes.cc.

References octave_int< T >::double_value(), fix(), and pow().

◆ powf() [15/18]

template OCTAVE_API octave_int< uint16_t > powf ( const octave_int< uint16_t > &  ,
const float &   
)

◆ powf() [16/18]

template OCTAVE_API octave_int< uint32_t > powf ( const octave_int< uint32_t > &  ,
const float &   
)

◆ powf() [17/18]

template OCTAVE_API octave_int< uint64_t > powf ( const octave_int< uint64_t > &  ,
const float &   
)

◆ powf() [18/18]

template OCTAVE_API octave_int< uint8_t > powf ( const octave_int< uint8_t > &  ,
const float &   
)

◆ umul128()

static void umul128 ( uint64_t  x,
uint64_t  y,
uint32_t  w[4] 
)
static

Definition at line 564 of file oct-inttypes.cc.

References Faddeeva::w(), and x.

Referenced by operator*().

Variable Documentation

◆ octave_int< int16_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int16_t >

Definition at line 857 of file oct-inttypes.cc.

◆ octave_int< int32_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int32_t >

Definition at line 858 of file oct-inttypes.cc.

◆ octave_int< int64_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int64_t >

Definition at line 859 of file oct-inttypes.cc.

◆ octave_int< int8_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< int8_t >

Definition at line 856 of file oct-inttypes.cc.

◆ octave_int< uint16_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint16_t >

Definition at line 862 of file oct-inttypes.cc.

◆ octave_int< uint32_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint32_t >

Definition at line 863 of file oct-inttypes.cc.

◆ octave_int< uint64_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint64_t >

Definition at line 864 of file oct-inttypes.cc.

◆ octave_int< uint8_t >

template class OCTAVE_CLASS_TEMPLATE_INSTANTIATION_API octave_int< uint8_t >

Definition at line 861 of file oct-inttypes.cc.