source: git/libpolys/coeffs/gnumpfl.h @ 2e4ec14

fieker-DuValspielwiese
Last change on this file since 2e4ec14 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
RevLine 
[35aab3]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*/
[2d805a]9#include <coeffs/coeffs.h>
[35aab3]10
[210852]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
[1cce47]15BOOLEAN ngfInitChar(coeffs r, void *);
[210852]16
[5b702f]17const char *   ngfRead (const char *s, number *a, const coeffs r);
18
[1c3d1f]19 // Private interface should be hidden!!!
[210852]20/// Note: MAY NOT WORK AS EXPECTED!
[7d90aa]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);
[2f3764]27number   ngfInit(long i, const coeffs r);
[7d90aa]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);
[210852]36number   ngfCopy(number a, const coeffs r);
[7d90aa]37number   ngf_Copy(number a, coeffs r);
38void     ngfWrite(number &a, const coeffs r);
[03f7b5]39void     ngfCoeffWrite(const coeffs r, BOOLEAN details);
[35aab3]40
[7d90aa]41void     ngfDelete(number *a, const coeffs r);
[35aab3]42
[8df232]43number ngfMapQ(number from, const coeffs src, const coeffs r);
[1c3d1f]44
[35aab3]45#endif
Note: See TracBrowser for help on using the repository browser.