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
Static Public Member Functions | Static Private Member Functions | List of all members
octave_int_base< T > Class Template Reference

#include "oct-inttypes.h"

Inheritance diagram for octave_int_base< T >:
Inheritance graph
[legend]

Static Public 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)

Static Private Member Functions

template<class S >
static S compute_threshold (S val, T orig_val)

Detailed Description

template<class T>
class octave_int_base< T >

Definition at line 256 of file oct-inttypes.h.

Member Function Documentation

template<class T >
template<class S >
static S octave_int_base< T >::compute_threshold ( val,
orig_val 
)
inlinestaticprivate

Definition at line 303 of file oct-inttypes.h.

References xround().

Referenced by octave_int_base< T >::convert_real().

template<class T >
template<class S >
static T octave_int_base< T >::convert_real ( const S &  value)
inlinestatic
template<class T >
static T octave_int_base< T >::max_val ( )
inlinestatic

Definition at line 261 of file oct-inttypes.h.

References max().

Referenced by octave_int_base< T >::convert_real(), and octave_int_base< T >::truncate_int().

template<class T >
static T octave_int_base< T >::min_val ( )
inlinestatic

Definition at line 260 of file oct-inttypes.h.

References min().

Referenced by octave_int_base< T >::convert_real(), and octave_int_base< T >::truncate_int().

template<class T >
template<class S >
static T octave_int_base< T >::truncate_int ( const S &  value)
inlinestatic

The documentation for this class was generated from the following file: