My Project
Loading...
Searching...
No Matches
shortfl.h
Go to the documentation of this file.
1#ifndef SHORTFL_H
2#define SHORTFL_H
3/****************************************
4* Computer Algebra System SINGULAR *
5****************************************/
6/*
7* ABSTRACT
8*/
9#include "misc/auxiliary.h"
10#include "omalloc/omalloc.h"
11
12#if SIZEOF_DOUBLE == SIZEOF_LONG
13#define SI_FLOAT double
14#else
15#define SI_FLOAT float
16#endif
17
18
19struct n_Procs_s; typedef struct n_Procs_s *coeffs;
20struct snumber; typedef struct snumber * number;
21
22/// Initialize r
23BOOLEAN nrInitChar(coeffs r, void*);
24
25// will be reused by gnumpc.cc and longrat.cc
26/// Converts a n_R number into a float. Needed by Maps
27SI_FLOAT nrFloat(number n);
28
29#endif
30
All the auxiliary stuff.
int BOOLEAN
Definition: auxiliary.h:87
mpz_t n
Definition: longrat.h:51
'SR_INT' is the type of those integers small enough to fit into 29 bits.
Definition: longrat.h:49
The main handler for Singular numbers which are suitable for Singular polynomials.
SI_FLOAT nrFloat(number n)
Converts a n_R number into a float. Needed by Maps.
Definition: shortfl.cc:48
#define SI_FLOAT
Definition: shortfl.h:15
BOOLEAN nrInitChar(coeffs r, void *)
Initialize r.
Definition: shortfl.cc:658