GNU Octave  4.4.1
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 DECLARE_OCTAVE_INT_TYPENAME(TYPE, TYPENAME)
 
#define DEFINE_REVERTED_OPERATOR(OP1, OP2)
 
#define DOUBLE_INT_BINOP_DECL(OP, SUFFIX)
 
#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)
 
#define INT_DOUBLE_BINOP_DECL(OP, SUFFIX)
 

Functions

template OCTAVE_API octave_int< int8_t > bitshift (const octave_int< int8_t > &, int, const octave_int< int8_t > &)
 
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< uint8_t > bitshift (const octave_int< uint8_t > &, int, const octave_int< uint8_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 > &)
 
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, 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::ge > (double x, int64_t 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, 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::le > (double x, int64_t 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_uint64 operator* (const octave_uint64 &x, const double &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_int64 operator* (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator+ (const octave_uint64 &x, const double &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_int64 operator+ (const double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator- (const octave_uint64 &x, const double &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_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 double &x, const octave_int64 &y)
 
template<>
OCTAVE_API octave_uint64 operator/ (const octave_uint64 &x, const double &y)
 
template<>
OCTAVE_API octave_int64 operator/ (const octave_int64 &x, const double &y)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const octave_int< T > &b)
 
template<typename T >
octave_int< T > pow (const double &a, const octave_int< T > &b)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const double &b)
 
template<typename T >
octave_int< T > pow (const float &a, const octave_int< T > &b)
 
template<typename T >
octave_int< T > pow (const octave_int< T > &a, const float &b)
 
template OCTAVE_API octave_int< int8_t > pow (const octave_int< int8_t > &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< int8_t > pow (const double &, const octave_int< int8_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 float &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< int8_t > pow (const octave_int< int8_t > &, const float &)
 
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< int16_t > pow (const double &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int16_t > pow (const octave_int< int16_t > &, const double &)
 
template OCTAVE_API octave_int< int16_t > pow (const float &, const octave_int< int16_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const octave_int< int32_t > &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const double &, const octave_int< int32_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 float &, const octave_int< int32_t > &)
 
template OCTAVE_API octave_int< int32_t > pow (const octave_int< int32_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< int64_t > pow (const double &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int64_t > pow (const float &, const octave_int< int64_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< uint8_t > pow (const octave_int< uint8_t > &, const double &)
 
template OCTAVE_API octave_int< uint8_t > pow (const float &, const octave_int< uint8_t > &)
 
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< uint8_t > pow (const double &, const octave_int< uint8_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const double &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const double &)
 
template OCTAVE_API octave_int< uint16_t > pow (const float &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint16_t > pow (const octave_int< uint16_t > &, const float &)
 
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 double &)
 
template OCTAVE_API octave_int< uint32_t > pow (const float &, const octave_int< uint32_t > &)
 
template OCTAVE_API octave_int< uint32_t > pow (const octave_int< uint32_t > &, const octave_int< uint32_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< 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 float &, const octave_int< uint64_t > &)
 
template OCTAVE_API octave_int< uint64_t > pow (const octave_int< uint64_t > &, const octave_int< uint64_t > &)
 
template<typename T >
octave_int< T > powf (const float &a, const octave_int< T > &b)
 
template<typename T >
octave_int< T > powf (const octave_int< T > &a, const float &b)
 
template OCTAVE_API octave_int< int8_t > powf (const octave_int< int8_t > &, const float &)
 
template OCTAVE_API octave_int< int8_t > powf (const float &, const octave_int< int8_t > &)
 
template OCTAVE_API octave_int< int16_t > powf (const octave_int< int16_t > &, const float &)
 
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< int32_t > powf (const octave_int< int32_t > &, const float &)
 
template OCTAVE_API octave_int< int64_t > powf (const float &, const octave_int< int64_t > &)
 
template OCTAVE_API octave_int< int64_t > powf (const octave_int< int64_t > &, const float &)
 
template OCTAVE_API octave_int< uint8_t > powf (const octave_int< uint8_t > &, const float &)
 
template OCTAVE_API octave_int< uint8_t > powf (const float &, const octave_int< uint8_t > &)
 
template OCTAVE_API octave_int< uint16_t > powf (const float &, const octave_int< uint16_t > &)
 
template OCTAVE_API octave_int< uint16_t > powf (const octave_int< uint16_t > &, const float &)
 
template OCTAVE_API octave_int< uint32_t > powf (const float &, const octave_int< uint32_t > &)
 
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< uint64_t > powf (const float &, const octave_int< uint64_t > &)
 
static void umul128 (uint64_t x, uint64_t y, uint32_t w[4])
 

Variables

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

Macro Definition Documentation

◆ DECLARE_OCTAVE_INT_TYPENAME

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

Definition at line 39 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 283 of file oct-inttypes.cc.

◆ DOUBLE_INT_BINOP_DECL

#define DOUBLE_INT_BINOP_DECL (   OP,
  SUFFIX 
)
Value:
template <> \
OCTAVE_API octave_ ## SUFFIX \
operator OP (const double& x, const octave_ ## SUFFIX & y)
the element is set to zero In other the statement xample y
Definition: data.cc:5264
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x

Definition at line 444 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:82

Definition at line 88 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 82 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 681 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)
the element is set to zero In other the statement xample y
Definition: data.cc:5264
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x

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

◆ INSTANTIATE_INTTYPE

#define INSTANTIATE_INTTYPE (   T)
Value:
template class OCTAVE_API octave_int<T>; \
template OCTAVE_API octave_int<T> pow (const octave_int<T>&, const octave_int<T>&); \
template OCTAVE_API octave_int<T> pow (const double&, const octave_int<T>&); \
template OCTAVE_API octave_int<T> pow (const octave_int<T>&, const double&); \
template OCTAVE_API octave_int<T> pow (const float&, const octave_int<T>&); \
template OCTAVE_API octave_int<T> pow (const octave_int<T>&, const float&); \
template OCTAVE_API octave_int<T> powf (const float&, const octave_int<T>&); \
template OCTAVE_API octave_int<T> powf (const octave_int<T>&, const float&); \
template OCTAVE_API octave_int<T> \
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 787 of file oct-inttypes.cc.

◆ INT_DOUBLE_BINOP_DECL

#define INT_DOUBLE_BINOP_DECL (   OP,
  SUFFIX 
)
Value:
template <> \
OCTAVE_API octave_ ## SUFFIX \
operator OP (const octave_ ## SUFFIX & x, const double& y)
the element is set to zero In other the statement xample y
Definition: data.cc:5264
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x

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

Function Documentation

◆ bitshift() [1/8]

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

◆ bitshift() [2/8]

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

◆ bitshift() [3/8]

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

◆ bitshift() [4/8]

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

◆ bitshift() [5/8]

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

◆ bitshift() [6/8]

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

◆ bitshift() [7/8]

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

◆ bitshift() [8/8]

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

◆ dbleget()

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

Definition at line 570 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 559 of file oct-inttypes.cc.

References octave::math::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,
uint64_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 > ( int64_t  x,
double  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 > ( uint64_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 > ( double  x,
int64_t  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,
uint64_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 > ( int64_t  x,
double  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 > ( uint64_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 > ( double  x,
int64_t  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_uint64 operator* ( const octave_uint64 x,
const double y 
)

◆ operator*() [2/4]

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

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

References x, and y.

◆ operator*() [3/4]

◆ operator*() [4/4]

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

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

References x, and y.

◆ operator+() [1/4]

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

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

References x, and y.

◆ operator+() [2/4]

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

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

References x, and y.

◆ operator+() [3/4]

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

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

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

◆ operator+() [4/4]

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

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

References x, and y.

◆ operator-() [1/4]

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

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

References x, and y.

◆ operator-() [2/4]

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

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

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

◆ operator-() [3/4]

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

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

References x, and y.

◆ operator-() [4/4]

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

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

References max(), min(), pow(), x, and y.

◆ operator/() [1/4]

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

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

References x, and y.

◆ operator/() [2/4]

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

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

References x, and y.

◆ operator/() [3/4]

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

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

References octave_int< T >::max(), octave::math::round(), x, and y.

◆ operator/() [4/4]

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

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

References octave_int< T >::max(), octave::math::round(), x, and y.

◆ pow() [1/45]

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

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

References a, b, retval, and zero().

Referenced by norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), axes::properties::calc_tick_sep(), axes::properties::calc_ticklabels(), axes::properties::calc_ticks_and_lims(), do_translate(), do_zoom(), elem_dual_p(), elem_xpow(), axes::properties::get_axis_limits(), 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(), octave::octave_jit_pow_complex_complex(), octave::octave_jit_pow_complex_scalar(), octave::octave_jit_pow_scalar_complex(), octave::octave_jit_pow_scalar_scalar(), norm_accumulator_p< R >::operator R(), norm_accumulator_mp< R >::operator R(), operator-(), pow(), powf(), log_scaler::unscale(), neg_log_scaler::unscale(), xpow(), and octave::math::xpsi().

◆ pow() [2/45]

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

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

References a, b, and pow().

◆ pow() [3/45]

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

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

References a, b, pow(), and octave::math::round().

◆ pow() [4/45]

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

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

References a, b, and pow().

◆ pow() [5/45]

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

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

References a, b, pow(), and octave::math::round().

◆ pow() [6/45]

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

◆ pow() [7/45]

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

◆ pow() [8/45]

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

◆ pow() [9/45]

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

◆ pow() [10/45]

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

◆ pow() [11/45]

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

◆ pow() [12/45]

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

◆ pow() [13/45]

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

◆ pow() [14/45]

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

◆ pow() [15/45]

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

◆ pow() [16/45]

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

◆ pow() [17/45]

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

◆ pow() [18/45]

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

◆ pow() [19/45]

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

◆ pow() [20/45]

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

◆ pow() [21/45]

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

◆ pow() [22/45]

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

◆ pow() [23/45]

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

◆ pow() [24/45]

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

◆ pow() [25/45]

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

◆ pow() [26/45]

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

◆ pow() [27/45]

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

◆ pow() [28/45]

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

◆ pow() [29/45]

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

◆ pow() [30/45]

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

◆ pow() [31/45]

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

◆ pow() [32/45]

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

◆ pow() [33/45]

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

◆ pow() [34/45]

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

◆ 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< uint32_t > pow ( const octave_int< uint32_t > &  ,
const float  
)

◆ 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 float ,
const octave_int< uint32_t > &   
)

◆ 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< uint32_t > pow ( const double ,
const octave_int< uint32_t > &   
)

◆ pow() [41/45]

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

◆ pow() [42/45]

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

◆ pow() [43/45]

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

◆ pow() [44/45]

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

◆ pow() [45/45]

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

◆ powf() [1/18]

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

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

References a, b, and pow().

◆ powf() [2/18]

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

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

References a, b, pow(), and octave::math::round().

◆ powf() [3/18]

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

◆ 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< int16_t > powf ( const octave_int< int16_t > &  ,
const float  
)

◆ powf() [6/18]

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

◆ powf() [7/18]

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

◆ powf() [8/18]

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

◆ powf() [9/18]

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

◆ powf() [10/18]

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

◆ powf() [11/18]

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

◆ powf() [12/18]

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

◆ powf() [13/18]

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

◆ powf() [14/18]

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

◆ powf() [15/18]

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

◆ 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< uint64_t > powf ( const float ,
const octave_int< uint64_t > &   
)

◆ umul128()

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

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

References a, Faddeeva::w(), x, and y.

Referenced by operator*().

Variable Documentation

◆ octave_int< int16_t >

template class OCTAVE_API octave_int< int16_t >

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

◆ octave_int< int32_t >

template class OCTAVE_API octave_int< int32_t >

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

◆ octave_int< int64_t >

template class OCTAVE_API octave_int< int64_t >

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

◆ octave_int< int8_t >

template class OCTAVE_API octave_int< int8_t >

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

◆ octave_int< uint16_t >

template class OCTAVE_API octave_int< uint16_t >

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

◆ octave_int< uint32_t >

template class OCTAVE_API octave_int< uint32_t >

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

◆ octave_int< uint64_t >

template class OCTAVE_API octave_int< uint64_t >

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

◆ octave_int< uint8_t >

template class OCTAVE_API octave_int< uint8_t >

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