#include "oct-inttypes.h"
Static Public Member Functions | |
static T | __signbit (T x) |
static T | abs (T x) |
static T | add (T x, T y) |
static T | div (T x, T y) |
static T | lshift (T x, int n) |
static T | minus (T x) |
static T | mod (T x, T y) |
static T | mul (T x, T y) |
static T | rem (T x, T y) |
static T | rshift (T x, int n) |
static T | signum (T x) |
static T | sub (T x, T y) |
Private Types | |
typedef query_integer_type < sizeof(T), false >::type | UT |
Static Private Member Functions | |
template<class S > | |
static T | convert_real (const S &value) |
static T | max_val () |
static T | min_val () |
template<class S > | |
static T | truncate_int (const S &value) |
Definition at line 447 of file oct-inttypes.h.
typedef query_integer_type<sizeof (T), false>::type octave_int_arith_base< T, true >::UT [private] |
Definition at line 450 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::__signbit | ( | T | x | ) | [inline, static] |
Definition at line 455 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::abs | ( | T | x | ) | [inline, static] |
Definition at line 465 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::add | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 537 of file oct-inttypes.h.
static T octave_int_base< T >::convert_real | ( | const S & | value | ) | [inline, static, inherited] |
Definition at line 278 of file oct-inttypes.h.
References octave_int_base< T >::compute_threshold(), octave_int_base< T >::max_val(), octave_int_base< T >::min_val(), xisnan(), and xround().
static T octave_int_arith_base< T, true >::div | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 630 of file oct-inttypes.h.
References octave_int_abs().
static T octave_int_arith_base< T, true >::lshift | ( | T | x, | |
int | n | |||
) | [inline, static] |
Definition at line 510 of file oct-inttypes.h.
static T octave_int_base< T >::max_val | ( | ) | [inline, static, protected, inherited] |
Definition at line 220 of file oct-inttypes.h.
References max().
Referenced by octave_int_base< T >::convert_real(), and octave_int_base< T >::truncate_int().
static T octave_int_base< T >::min_val | ( | ) | [inline, static, protected, inherited] |
Definition at line 219 of file oct-inttypes.h.
References min().
Referenced by octave_int_base< T >::convert_real(), and octave_int_base< T >::truncate_int().
static T octave_int_arith_base< T, true >::minus | ( | T | x | ) | [inline, static] |
Definition at line 514 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::mod | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 680 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::mul | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 620 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::rem | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 673 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::rshift | ( | T | x, | |
int | n | |||
) | [inline, static] |
Definition at line 507 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::signum | ( | T | x | ) | [inline, static] |
Definition at line 496 of file oct-inttypes.h.
static T octave_int_arith_base< T, true >::sub | ( | T | x, | |
T | y | |||
) | [inline, static] |
Definition at line 578 of file oct-inttypes.h.
static T octave_int_base< T >::truncate_int | ( | const S & | value | ) | [inline, static, inherited] |
Definition at line 227 of file oct-inttypes.h.
References octave_int_base< T >::max_val(), and octave_int_base< T >::min_val().