source: git/factory/singext.h @ dccceb

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