• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kcalc

kcalc_core.cpp File Reference

#include <config-kcalc.h>
#include <limits.h>
#include <stdio.h>
#include <assert.h>
#include <signal.h>
#include <errno.h>
#include <string.h>
#include "kcalc_core.h"
#include <stdlib.h>
#include <klocale.h>
#include <kmessagebox.h>
#include "kcalctype.h"
#include <math.h>

Include dependency graph for kcalc_core.cpp:

Go to the source code of this file.


Functions

int isinf (double x)
static void fpe_handler (int fpe_parm)
static KNumber ExecOr (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecXor (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecAnd (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecLsh (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecRsh (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecAdd (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecSubtract (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecMultiply (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecDivide (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecMod (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecIntDiv (const KNumber &left_op, const KNumber &right_op)
bool isoddint (const KNumber &input)
static KNumber ExecBinom (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecPower (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecPwrRoot (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecAddP (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecSubP (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecMultiplyP (const KNumber &left_op, const KNumber &right_op)
static KNumber ExecDivideP (const KNumber &left_op, const KNumber &right_op)
static KNumber const moveIntoDegInterval (KNumber const &num)
static KNumber const moveIntoGradInterval (KNumber const &num)
static KNumber _factorial (KNumber input)

Variables

static bool _error

Function Documentation

static KNumber _factorial ( KNumber  input  )  [static]

Definition at line 631 of file kcalc_core.cpp.

static KNumber ExecAdd ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 112 of file kcalc_core.cpp.

static KNumber ExecAddP ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 190 of file kcalc_core.cpp.

static KNumber ExecAnd ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 97 of file kcalc_core.cpp.

static KNumber ExecBinom ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 150 of file kcalc_core.cpp.

static KNumber ExecDivide ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 127 of file kcalc_core.cpp.

static KNumber ExecDivideP ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 205 of file kcalc_core.cpp.

static KNumber ExecIntDiv ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 137 of file kcalc_core.cpp.

static KNumber ExecLsh ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 102 of file kcalc_core.cpp.

static KNumber ExecMod ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 132 of file kcalc_core.cpp.

static KNumber ExecMultiply ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 122 of file kcalc_core.cpp.

static KNumber ExecMultiplyP ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 200 of file kcalc_core.cpp.

static KNumber ExecOr ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 87 of file kcalc_core.cpp.

static KNumber ExecPower ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 180 of file kcalc_core.cpp.

static KNumber ExecPwrRoot ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 185 of file kcalc_core.cpp.

static KNumber ExecRsh ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 107 of file kcalc_core.cpp.

static KNumber ExecSubP ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 195 of file kcalc_core.cpp.

static KNumber ExecSubtract ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 117 of file kcalc_core.cpp.

static KNumber ExecXor ( const KNumber &  left_op,
const KNumber &  right_op 
) [static]

Definition at line 92 of file kcalc_core.cpp.

static void fpe_handler ( int  fpe_parm  )  [static]

Definition at line 77 of file kcalc_core.cpp.

int isinf ( double  x  ) 

Definition at line 65 of file kcalc_core.cpp.

bool isoddint ( const KNumber &  input  ) 

Definition at line 142 of file kcalc_core.cpp.

static KNumber const moveIntoDegInterval ( KNumber const &  num  )  [static]

Definition at line 500 of file kcalc_core.cpp.

static KNumber const moveIntoGradInterval ( KNumber const &  num  )  [static]

Definition at line 509 of file kcalc_core.cpp.


Variable Documentation

bool _error [static]

Definition at line 85 of file kcalc_core.cpp.

kcalc

Skip menu "kcalc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal