source: git/kernel/gnumpc.h @ fec53d

fieker-DuValspielwiese
Last change on this file since fec53d was 599326, checked in by Kai Krüger <krueger@…>, 14 years ago
Anne, Kai, Frank: - changes to #include "..." statements to allow cleaner build structure - affected directories: omalloc, kernel, Singular - not yet done: IntergerProgramming git-svn-id: file:///usr/local/Singular/svn/trunk@13032 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.4 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 <kernel/structs.h>
11
12BOOLEAN  ngcGreaterZero(number za);      // !!! MAY NOT WORK AS EXPECTED !!!
13BOOLEAN  ngcGreater(number a, number b);
14BOOLEAN  ngcEqual(number a, number b);
15BOOLEAN  ngcIsOne(number a);
16BOOLEAN  ngcIsMOne(number a);
17BOOLEAN  ngcIsZero(number za);
18number   ngcInit(int i, const ring r);
19int      ngcInt(number &n, const ring r);
20number   ngcNeg(number za);
21number   ngcInvers(number a);
22number   ngcPar(int i);
23number   ngcAdd(number la, number li);
24number   ngcSub(number la, number li);
25number   ngcMult(number a, number b);
26number   ngcDiv(number a, number b);
27int      ngcSize(number n);
28void     ngcPower(number x, int exp, number *lu);
29number   ngcCopy(number a);
30number   ngc_Copy(number a, ring r);
31const char * ngcRead (const char *s, number *a);
32void     ngcWrite(number &a, const ring r);
33number   ngcRePart(number a);
34number   ngcImPart(number a);
35
36
37#ifdef LDEBUG
38BOOLEAN  ngcDBTest(number a, const char *f, const int l);
39#endif
40void     ngcDelete(number *a, const ring r);
41
42nMapFunc  ngcSetMap(const ring src, const ring dst);
43
44number ngcMapQ(number from);
45#endif
46
47
48// local Variables: ***
49// folded-file: t ***
50// compile-command: "make installg" ***
51// End: ***
Note: See TracBrowser for help on using the repository browser.