![]() |
#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 110 of file shortfl.cc.
Definition at line 704 of file shortfl.cc.
Definition at line 699 of file shortfl.cc.
Definition at line 62 of file shortfl.cc.
Definition at line 386 of file shortfl.cc.
Definition at line 199 of file shortfl.cc.
Definition at line 240 of file shortfl.cc.
SI_FLOAT nrFloat | ( | number | n | ) |
Converts a n_R number into a float. Needed by Maps.
Definition at line 56 of file shortfl.cc.
Definition at line 233 of file shortfl.cc.
Definition at line 69 of file shortfl.cc.
Definition at line 86 of file shortfl.cc.
Initialize r.
Definition at line 709 of file shortfl.cc.
Definition at line 97 of file shortfl.cc.
Definition at line 213 of file shortfl.cc.
Definition at line 190 of file shortfl.cc.
Definition at line 181 of file shortfl.cc.
Definition at line 174 of file shortfl.cc.
Definition at line 413 of file shortfl.cc.
Definition at line 404 of file shortfl.cc.
Definition at line 394 of file shortfl.cc.
Definition at line 424 of file shortfl.cc.
Definition at line 509 of file shortfl.cc.
Definition at line 76 of file shortfl.cc.
Definition at line 226 of file shortfl.cc.
Definition at line 315 of file shortfl.cc.
Get a mapping function from src into the domain of this type: n_R.
Definition at line 668 of file shortfl.cc.
Definition at line 142 of file shortfl.cc.
Definition at line 248 of file shortfl.cc.
Definition at line 38 of file shortfl.cc.