![]() |
My Project
debian-1:4.1.2-p1+ds-2
|
#include "misc/auxiliary.h"
#include "misc/mylimits.h"
#include "reporter/reporter.h"
#include "coeffs/numbers.h"
#include "coeffs/coeffs.h"
#include "coeffs/mpr_complex.h"
#include "coeffs/shortfl.h"
#include "coeffs/longrat.h"
#include <cmath>
Go to the source code of this file.
Data Structures | |
union | nf |
Macros | |
#define | SR_HDL(A) ((long)(A)) |
#define | IS_INT(A) ((A)->s==3) |
#define | IS_IMM(A) (SR_HDL(A) & SR_INT) |
#define | GET_NOM(A) ((A)->z) |
#define | GET_DENOM(A) ((A)->n) |
Functions | |
static BOOLEAN | nrDBTest (number a, const coeffs r, const char *f, const int l) |
static nMapFunc | nrSetMap (const coeffs src, const coeffs dst) |
Get a mapping function from src into the domain of this type: n_R. More... | |
static number | nrMapQ (number from, const coeffs r, const coeffs aRing) |
SI_FLOAT | nrFloat (number n) |
Converts a n_R number into a float. Needed by Maps. More... | |
static void | nrCoeffWrite (const coeffs r, BOOLEAN) |
static BOOLEAN | nrGreaterZero (number k, const coeffs r) |
static number | nrMult (number a, number b, const coeffs r) |
static number | nrInit (long i, const coeffs r) |
static long | nrInt (number &n, const coeffs r) |
static number | nrAdd (number a, number b, const coeffs r) |
static number | nrSub (number a, number b, const coeffs r) |
static BOOLEAN | nrIsZero (number a, const coeffs r) |
static BOOLEAN | nrIsOne (number a, const coeffs r) |
static BOOLEAN | nrIsMOne (number a, const coeffs r) |
static number | nrDiv (number a, number b, const coeffs r) |
static number | nrInvers (number c, const coeffs r) |
static number | nrNeg (number c, const coeffs r) |
static BOOLEAN | nrGreater (number a, number b, const coeffs r) |
static BOOLEAN | nrEqual (number a, number b, const coeffs r) |
static void | nrWrite (number a, const coeffs r) |
static const char * | nrRead (const char *s, number *a, const coeffs r) |
static BOOLEAN | nrDBTest (number a, const char *f, const int l, const coeffs r) |
static number | nrMapP (number from, const coeffs aRing, const coeffs r) |
static number | nrMapLongR (number from, const coeffs aRing, const coeffs r) |
static number | nrMapC (number from, const coeffs aRing, const coeffs r) |
static number | nrMapZ (number from, const coeffs aRing, const coeffs r) |
static char * | nrCoeffString (const coeffs r) |
static char * | nrCoeffName (const coeffs r) |
BOOLEAN | nrInitChar (coeffs n, void *p) |
Initialize r. More... | |
Variables | |
static const SI_FLOAT | nrEps = 1.0e-3 |
Definition at line 109 of file shortfl.cc.
Definition at line 703 of file shortfl.cc.
Definition at line 698 of file shortfl.cc.
Definition at line 61 of file shortfl.cc.
Definition at line 385 of file shortfl.cc.
SI_FLOAT nrFloat | ( | number | n | ) |
Converts a n_R number into a float. Needed by Maps.
Definition at line 55 of file shortfl.cc.
Definition at line 232 of file shortfl.cc.
Definition at line 68 of file shortfl.cc.
Definition at line 96 of file shortfl.cc.
Definition at line 189 of file shortfl.cc.
Definition at line 180 of file shortfl.cc.
Definition at line 173 of file shortfl.cc.
Definition at line 412 of file shortfl.cc.
Definition at line 403 of file shortfl.cc.
Definition at line 423 of file shortfl.cc.
Definition at line 508 of file shortfl.cc.
Definition at line 75 of file shortfl.cc.
Definition at line 225 of file shortfl.cc.
Definition at line 314 of file shortfl.cc.
Get a mapping function from src into the domain of this type: n_R.
Definition at line 667 of file shortfl.cc.
Definition at line 141 of file shortfl.cc.
Definition at line 247 of file shortfl.cc.
Definition at line 37 of file shortfl.cc.