My Project
|
#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 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 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 94 of file shortfl.cc.
Definition at line 653 of file shortfl.cc.
Definition at line 648 of file shortfl.cc.
Definition at line 370 of file shortfl.cc.
Definition at line 183 of file shortfl.cc.
SI_FLOAT nrFloat | ( | number | n | ) |
Converts a n_R number into a float. Needed by Maps.
Definition at line 48 of file shortfl.cc.
Definition at line 217 of file shortfl.cc.
Definition at line 53 of file shortfl.cc.
Definition at line 70 of file shortfl.cc.
Initialize r.
Definition at line 658 of file shortfl.cc.
Definition at line 81 of file shortfl.cc.
Definition at line 174 of file shortfl.cc.
Definition at line 165 of file shortfl.cc.
Definition at line 158 of file shortfl.cc.
Definition at line 397 of file shortfl.cc.
Definition at line 388 of file shortfl.cc.
Definition at line 378 of file shortfl.cc.
Definition at line 408 of file shortfl.cc.
Definition at line 458 of file shortfl.cc.
Definition at line 60 of file shortfl.cc.
Definition at line 210 of file shortfl.cc.
Definition at line 299 of file shortfl.cc.
Get a mapping function from src into the domain of this type: n_R.
Definition at line 617 of file shortfl.cc.
Definition at line 126 of file shortfl.cc.
Definition at line 232 of file shortfl.cc.
Definition at line 30 of file shortfl.cc.