source: git/coeffs/gnumpc.h @ 7d90aa

spielwiese
Last change on this file since 7d90aa was 7d90aa, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
initial changes to 'coeffs' + first build system
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#ifndef GMPCOMPLEX_H
2#define GMPCOMPLEX_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT: computations with GMP floating-point numbers
9*/
10#include "coeffs.h"
11
12BOOLEAN  ngcGreaterZero(number za, const coeffs r); // !!! MAY NOT WORK AS EXPECTED !!!
13BOOLEAN  ngcGreater(number a, number b, const coeffs r);
14BOOLEAN  ngcEqual(number a, number b, const coeffs r);
15BOOLEAN  ngcIsOne(number a, const coeffs r);
16BOOLEAN  ngcIsMOne(number a, const coeffs r);
17BOOLEAN  ngcIsZero(number za, const coeffs r);
18number   ngcInit(int i, const coeffs r);
19int      ngcInt(number &n, const coeffs r);
20number   ngcNeg(number za, const coeffs r);
21number   ngcInvers(number a, const coeffs r);
22number   ngcPar(int i, const coeffs r);
23number   ngcAdd(number la, number li, const coeffs r);
24number   ngcSub(number la, number li, const coeffs r);
25number   ngcMult(number a, number b, const coeffs r);
26number   ngcDiv(number a, number b, const coeffs r);
27void     ngcPower(number x, int exp, number *lu, const coeffs r);
28number   ngcCopy(number a);
29number   ngc_Copy(number a, coeffs r);
30const char * ngcRead (const char *s, number *a, const coeffs r);
31void     ngcWrite(number &a, const coeffs r);
32number   ngcRePart(number a, const coeffs r);
33number   ngcImPart(number a, const coeffs r);
34
35
36#ifdef LDEBUG
37BOOLEAN  ngcDBTest(number a, const char *f, const int l);
38#endif
39void     ngcDelete(number *a, const coeffs r);
40
41nMapFunc  ngcSetMap(const coeffs src, const coeffs dst);
42
43number ngcMapQ(number from, const coeffs r);
44#endif
45
46
47// local Variables: ***
48// folded-file: t ***
49// compile-command: "make installg" ***
50// End: ***
Note: See TracBrowser for help on using the repository browser.