source: git/factory/singext.h @ ba5e9e

spielwiese
Last change on this file since ba5e9e was 7f807d, checked in by Martin Lee <martinlee84@…>, 11 years ago
fix: issues when building factory standalone
  • Property mode set to 100644
File size: 639 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
11#ifdef SINGULAR
12#include <resources/feFopen.h>
13#endif
14
15/*BEGINPUBLIC*/
16
17void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
18
19void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
20
21int gf_value (const CanonicalForm & f );
22
23CanonicalForm make_cf ( const mpz_ptr n );
24
25CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
26
27CanonicalForm make_cf_from_gf ( const int z );
28
29/*ENDPUBLIC*/
30
31#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.