![]() |
My Project
debian-1:4.1.1-p2+ds-4build2
|
#include "misc/auxiliary.h"
#include "misc/mylimits.h"
#include "reporter/reporter.h"
#include "omalloc/omalloc.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 111 of file shortfl.cc.
Definition at line 705 of file shortfl.cc.
Definition at line 700 of file shortfl.cc.
Definition at line 63 of file shortfl.cc.
Definition at line 387 of file shortfl.cc.
SI_FLOAT nrFloat | ( | number | n | ) |
Converts a n_R number into a float. Needed by Maps.
Definition at line 57 of file shortfl.cc.
Definition at line 234 of file shortfl.cc.
Definition at line 70 of file shortfl.cc.
Definition at line 98 of file shortfl.cc.
Definition at line 191 of file shortfl.cc.
Definition at line 182 of file shortfl.cc.
Definition at line 175 of file shortfl.cc.
Definition at line 414 of file shortfl.cc.
Definition at line 405 of file shortfl.cc.
Definition at line 425 of file shortfl.cc.
Definition at line 510 of file shortfl.cc.
Definition at line 77 of file shortfl.cc.
Definition at line 227 of file shortfl.cc.
Definition at line 316 of file shortfl.cc.
Get a mapping function from src into the domain of this type: n_R.
Definition at line 669 of file shortfl.cc.
Definition at line 143 of file shortfl.cc.
Definition at line 249 of file shortfl.cc.
Definition at line 39 of file shortfl.cc.