#include "lo-error.h"
#include "oct-inttypes.h"
#define DECLARE_OCTAVE_INT_TYPENAME | ( | TYPE, | |||
TYPENAME | ) |
Value:
template <> \ OCTAVE_API const char * \ octave_int<TYPE>::type_name () { return TYPENAME; }
#define DEFINE_REVERTED_OPERATOR | ( | OP1, | |||
OP2 | ) |
Value:
template <> \ class rev_op<octave_int_cmp_op::OP1> \ { \ public: \ typedef octave_int_cmp_op::OP2 op; \ }
#define DOUBLE_INT_BINOP_DECL | ( | OP, | |||
SUFFIX | ) |
Value:
template <> \ OCTAVE_API octave_ ## SUFFIX \ operator OP (const double& x, const octave_ ## SUFFIX & y)
#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 | ) |
Value:
template OCTAVE_API bool \ octave_int_cmp_op::emulate_mop<octave_int_cmp_op::OP> (T1 x, T2 y)
#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> 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>&); \
#define INT_DOUBLE_BINOP_DECL | ( | OP, | |||
SUFFIX | ) |
Value:
template <> \ OCTAVE_API octave_ ## SUFFIX \ operator OP (const octave_ ## SUFFIX & x, const double& y)
DEFINE_REVERTED_OPERATOR | ( | ge | , | |
le | ||||
) |
DEFINE_REVERTED_OPERATOR | ( | le | , | |
ge | ||||
) |
DEFINE_REVERTED_OPERATOR | ( | gt | , | |
lt | ||||
) |
DEFINE_REVERTED_OPERATOR | ( | lt | , | |
gt | ||||
) |
INSTANTIATE_INT64_DOUBLE_CMP_OP | ( | ne | ) |
INSTANTIATE_INT64_DOUBLE_CMP_OP | ( | eq | ) |
INSTANTIATE_INT64_DOUBLE_CMP_OP | ( | ge | ) |
INSTANTIATE_INT64_DOUBLE_CMP_OP | ( | gt | ) |
INSTANTIATE_INT64_DOUBLE_CMP_OP | ( | le | ) |
INSTANTIATE_INTTYPE | ( | uint64_t | ) |
INSTANTIATE_INTTYPE | ( | uint32_t | ) |
INSTANTIATE_INTTYPE | ( | uint16_t | ) |
INSTANTIATE_INTTYPE | ( | uint8_t | ) |
INSTANTIATE_INTTYPE | ( | int64_t | ) |
INSTANTIATE_INTTYPE | ( | int32_t | ) |
INSTANTIATE_INTTYPE | ( | int16_t | ) |
INSTANTIATE_INTTYPE | ( | int8_t | ) |
octave_int<T> pow | ( | const octave_int< T > & | a, | |
const double & | b | |||
) | [inline] |
octave_int<T> pow | ( | const double & | a, | |
const octave_int< T > & | b | |||
) | [inline] |
octave_int<T> pow | ( | const octave_int< T > & | a, | |
const octave_int< T > & | b | |||
) | [inline] |
octave_int<T> powf | ( | const octave_int< T > & | a, | |
const float & | b | |||
) | [inline] |
octave_int<T> powf | ( | const float & | a, | |
const octave_int< T > & | b | |||
) | [inline] |