source: git/libpolys/coeffs/gnumpfl.h @ f0af17

spielwiese
Last change on this file since f0af17 was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 1.6 KB
Line 
1#ifndef GMPFLOAT_H
2#define GMPFLOAT_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT: computations with GMP floating-point numbers
8*/
9#include <coeffs/coeffs.h>
10
11/// Get a mapping function from src into the domain of this type:
12nMapFunc  ngfSetMap(const coeffs src, const coeffs dst);
13
14/// Initialize r
15BOOLEAN ngfInitChar(coeffs r, void *);
16
17const char *   ngfRead (const char *s, number *a, const coeffs r);
18
19 // Private interface should be hidden!!!
20/// Note: MAY NOT WORK AS EXPECTED!
21BOOLEAN  ngfGreaterZero(number za, const coeffs r);
22BOOLEAN  ngfGreater(number a, number b, const coeffs r);
23BOOLEAN  ngfEqual(number a, number b, const coeffs r);
24BOOLEAN  ngfIsOne(number a, const coeffs r);
25BOOLEAN  ngfIsMOne(number a, const coeffs r);
26BOOLEAN  ngfIsZero(number za, const coeffs r);
27number   ngfInit(long i, const coeffs r);
28int      ngfInt(number &n, const coeffs r);
29number   ngfNeg(number za, const coeffs r);
30number   ngfInvers(number a, const coeffs r);
31number   ngfAdd(number la, number li, const coeffs r);
32number   ngfSub(number la, number li, const coeffs r);
33number   ngfMult(number a, number b, const coeffs r);
34number   ngfDiv(number a, number b, const coeffs r);
35void     ngfPower(number x, int exp, number *lu, const coeffs r);
36number   ngfCopy(number a, const coeffs r);
37number   ngf_Copy(number a, coeffs r);
38void     ngfWrite(number &a, const coeffs r);
39void     ngfCoeffWrite(const coeffs r, BOOLEAN details);
40
41void     ngfDelete(number *a, const coeffs r);
42
43number ngfMapQ(number from, const coeffs src, const coeffs r);
44
45#endif
Note: See TracBrowser for help on using the repository browser.