GNU Octave  3.8.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
Classes | Macros | Functions | Variables
oct-inttypes.cc File Reference
#include <fpucw.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_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, 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, 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_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_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_uint64 operator/ (const double &x, const octave_uint64 &y)
template<>
OCTAVE_API octave_uint64 operator/ (const octave_uint64 &x, const double &y)
template<class T >
octave_int< T > pow (const octave_int< T > &a, const octave_int< T > &b)
template<class T >
octave_int< T > pow (const double &a, const octave_int< T > &b)
template<class T >
octave_int< T > pow (const octave_int< T > &a, const double &b)
template<class T >
octave_int< T > pow (const float &a, const octave_int< T > &b)
template<class 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 float &)
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
< 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 octave_int< int64_t > &, const double &)
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 float &)
template OCTAVE_API octave_int
< uint8_t > 
pow (const double &, const octave_int< uint8_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 octave_int< uint8_t > &)
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
< uint16_t > 
pow (const float &, 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
< uint16_t > 
pow (const octave_int< uint16_t > &, const double &)
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 double &, const octave_int< uint16_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 float &, 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
< 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
< 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 OCTAVE_API octave_int
< uint64_t > 
pow (const octave_int< uint64_t > &, const float &)
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<class T >
octave_int< T > powf (const float &a, const octave_int< T > &b)
template<class 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 float &, const octave_int< int16_t > &)
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
< 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
< int64_t > 
powf (const octave_int< int64_t > &, const float &)
template OCTAVE_API octave_int
< uint8_t > 
powf (const float &, const octave_int< uint8_t > &)
template OCTAVE_API octave_int
< uint8_t > 
powf (const octave_int< uint8_t > &, const float &)
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 float &, const octave_int< uint64_t > &)
template OCTAVE_API octave_int
< uint64_t > 
powf (const octave_int< uint64_t > &, const float &)
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

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

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

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

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

#define DOUBLE_INT_BINOP_DECL (   OP,
  SUFFIX 
)
Value:
template <> \
OCTAVE_API octave_ ## SUFFIX \
operator OP (const double& x, const octave_ ## SUFFIX & y)

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

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

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

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

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

#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>&); \

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

#define INT_DOUBLE_BINOP_DECL (   OP,
  SUFFIX 
)
Value:
template <> \
OCTAVE_API octave_ ## SUFFIX \
operator OP (const octave_ ## SUFFIX & x, const double& y)

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

Function Documentation

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

Referenced by bitshift(), and install_bitfcns_fcns().

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

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

References x.

Referenced by operator*().

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

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

Referenced by operator*().

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

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

References x.

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

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

References x.

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

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

References x.

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

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

References x.

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

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

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

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

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

References x.

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

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

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

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

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

References octave_int< T >::value().

Referenced by norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), betaincinv(), axes::properties::calc_tick_sep(), axes::properties::calc_ticklabels(), axes::properties::calc_ticks_and_lims(), cbrt(), cbrtf(), do_translate(), do_zoom(), elem_dual_p(), elem_xpow(), Feps(), axes::properties::get_axis_limits(), higham_subp(), DASPK_options::init(), 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(), pr_engineering_float::mantissa(), octave_jit_pow_complex_complex(), octave_jit_pow_complex_scalar(), octave_jit_pow_scalar_complex(), octave_jit_pow_scalar_scalar(), norm_accumulator_p< R >::operator R(), norm_accumulator_mp< R >::operator R(), operator-(), pow(), powf(), set_format(), log_scaler::unscale(), neg_log_scaler::unscale(), and xpow().

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

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

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

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

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

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

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

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

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

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

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

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

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 float  
)
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< 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 octave_int< int64_t > &  ,
const double  
)
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 float  
)
template OCTAVE_API octave_int< uint8_t > pow ( const double ,
const octave_int< uint8_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 octave_int< uint8_t > &   
)
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< uint16_t > pow ( const float ,
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< uint16_t > pow ( const octave_int< uint16_t > &  ,
const double  
)
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 double ,
const octave_int< uint16_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 float ,
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< 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< 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 OCTAVE_API octave_int< uint64_t > pow ( const octave_int< uint64_t > &  ,
const float  
)
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<class T >
octave_int<T> powf ( const float a,
const octave_int< T > &  b 
)

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

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

Referenced by Feps().

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

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

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

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 float ,
const octave_int< int16_t > &   
)
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< 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< int64_t > powf ( const octave_int< int64_t > &  ,
const float  
)
template OCTAVE_API octave_int< uint8_t > powf ( const float ,
const octave_int< uint8_t > &   
)
template OCTAVE_API octave_int< uint8_t > powf ( const octave_int< uint8_t > &  ,
const float  
)
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 float ,
const octave_int< uint64_t > &   
)
template OCTAVE_API octave_int< uint64_t > powf ( const octave_int< uint64_t > &  ,
const float  
)
static void umul128 ( uint64_t  x,
uint64_t  y,
uint32_t  w[4] 
)
static

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

References x.

Referenced by operator*().

Variable Documentation

template class OCTAVE_API octave_int< int16_t >

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

template class OCTAVE_API octave_int< int32_t >

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

template class OCTAVE_API octave_int< int64_t >

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

template class OCTAVE_API octave_int< int8_t >

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

template class OCTAVE_API octave_int< uint16_t >

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

template class OCTAVE_API octave_int< uint32_t >

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

template class OCTAVE_API octave_int< uint64_t >

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

template class OCTAVE_API octave_int< uint8_t >

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