Logo Search packages:      
Sourcecode: abakus version File versions  Download package

Abakus::number< HNumber > Class Template Reference

#include <numerictypes.h>

List of all members.


Detailed Description

template<>
class Abakus::number< HNumber >

Specialization for internal HMath library, used if MPFR isn't usable.

Author:
Michael Pyne <michael.pyne@kdemail.net>

Definition at line 515 of file numerictypes.h.


Public Types

typedef HNumber value_type

Public Member Functions

number< HNumber > acos () const
double asDouble () const
number< HNumber > asin () const
HNumber asRadians () const
number< HNumber > atan () const
number< HNumber > ceil () const
number< HNumber > cos () const
number< HNumber > floor () const
 number (const char *s)
 number (const number< HNumber > &other)
 number (int i)
 number (const HNumber &t=HNumber())
bool operator!= (const number< HNumber > &other) const
number< HNumber > operator- () const
bool operator< (const number< HNumber > &other) const
bool operator<= (const number< HNumber > &other) const
number< HNumber > & operator= (const number< HNumber > &other)
bool operator== (const number< HNumber > &other) const
bool operator> (const number< HNumber > &other) const
bool operator>= (const number< HNumber > &other) const
number< HNumber > pow (const number< HNumber > &exponent)
number< HNumber > sin () const
number< HNumber > tan () const
QString toString () const
HNumber toTrig (const HNumber &num) const
HNumber value () const

Static Public Member Functions

static number< HNumber > nan ()

Static Public Attributes

static const HNumber E = HMath::exp(1)
static const HNumber PI = HMath::pi()

Private Attributes

HNumber m_t

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

Generated by  Doxygen 1.6.0   Back to index