source: git/factory/singext.h @ 362fc67

spielwiese
Last change on this file since 362fc67 was 362fc67, checked in by Martin Lee <martinlee84@…>, 12 years ago
chg: remove $Id$
  • Property mode set to 100644
File size: 648 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3#ifndef INCL_SINGEXT_H
4#define INCL_SINGEXT_H
5
6// #include "config.h"
7
8#include "canonicalform.h"
9#include <factory/cf_gmp.h>
10
11extern FILE * feFopen ( const char * path, const char * mode);
12
13/*BEGINPUBLIC*/
14
15void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
16
17void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
18
19int gf_value (const CanonicalForm & f );
20
21CanonicalForm make_cf ( const mpz_ptr n );
22
23CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
24
25CanonicalForm make_cf_from_gf ( const int z );
26
27/*ENDPUBLIC*/
28
29#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.