source: git/kernel/shortfl.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.2 KB
Line 
1#ifndef SHORTFL_H
2#define SHORTFL_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT
8*/
9/* $Id$ */
10#include <kernel/structs.h>
11
12BOOLEAN nrGreaterZero (number k);
13number  nrMult        (number a, number b);
14number  nrInit        (int i, const ring r);
15int     nrInt         (number &n, const ring r);
16number  nrAdd         (number a, number b);
17number  nrSub         (number a, number b);
18void    nrPower       (number a, int i, number * result);
19BOOLEAN nrIsZero      (number a);
20BOOLEAN nrIsOne       (number a);
21BOOLEAN nrIsMOne      (number a);
22number  nrDiv         (number a, number b);
23number  nrNeg         (number c);
24number  nrInvers      (number c);
25int     nrSize        (number n);
26BOOLEAN nrGreater     (number a, number b);
27BOOLEAN nrEqual       (number a, number b);
28void    nrWrite       (number &a, const ring r);
29const char *  nrRead  (const char *s, number *a);
30int     nrGetChar();
31#ifdef LDEBUG
32BOOLEAN nrDBTest(number a, const char *f, const int l);
33#endif
34
35nMapFunc nrSetMap(const ring src, const ring dst);
36
37float   nrFloat(number n);
38number nrMapQ(number from);
39#endif
40
Note: See TracBrowser for help on using the repository browser.