source: git/libpolys/coeffs/shortfl.h @ 908905

spielwiese
Last change on this file since 908905 was e6cdad, checked in by Hans Schoenemann <hannes@…>, 6 years ago
use xalloc if omalloc is disabled
  • Property mode set to 100644
File size: 693 bytes
Line 
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#ifdef HAVE_OMALLOC
11#include "omalloc/omalloc.h"
12#else
13#include "xalloc/omalloc.h"
14#endif
15
16#if SIZEOF_DOUBLE == SIZEOF_LONG
17#define SI_FLOAT double
18#else
19#define SI_FLOAT float
20#endif
21
22
23struct n_Procs_s; typedef struct  n_Procs_s  *coeffs;
24struct snumber; typedef struct snumber *   number;
25
26/// Initialize r
27BOOLEAN nrInitChar(coeffs r, void*);
28
29// will be reused by gnumpc.cc and longrat.cc
30/// Converts a n_R number into a float. Needed by Maps
31SI_FLOAT  nrFloat(number n);
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.