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

Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes

Abakus::number< HNumber > Class Template Reference

#include <numerictypes.h>

Collaboration diagram for Abakus::number< HNumber >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef HNumber value_type

Public Member Functions

number< HNumberacos () const
double asDouble () const
number< HNumberasin () const
HNumber asRadians () const
number< HNumberatan () const
number< HNumberceil () const
number< HNumbercos () const
number< HNumberfloor () const
 number (const char *s)
 number (int i)
 number (const number< HNumber > &other)
 number (const HNumber &t=HNumber())
bool operator!= (const number< HNumber > &other) const
number< HNumberoperator- () 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< HNumberpow (const number< HNumber > &exponent)
number< HNumbersin () const
number< HNumbertan () const
QString toString () const
HNumber toTrig (const HNumber &num) const
HNumber value () const

Static Public Member Functions

static number< HNumbernan ()

Static Public Attributes

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

Private Attributes

HNumber m_t

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 518 of file numerictypes.h.


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

Generated by  Doxygen 1.6.0   Back to index