source: git/factory/singext.h @ 8b46459

spielwiese
Last change on this file since 8b46459 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
RevLine 
[493c477]1/* emacs edit mode for this file is -*- C++ -*- */
[341696]2/* $Id$ */
[2dd068]3
4#ifndef INCL_SINGEXT_H
5#define INCL_SINGEXT_H
6
[e4fe2b]7// #include "config.h"
[9d7aaa]8
[2dd068]9#include "canonicalform.h"
[e4fe2b]10#include <factory/cf_gmp.h>
[2dd068]11
12/*BEGINPUBLIC*/
13
[8357930]14void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
[2dd068]15
[8357930]16void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
[2dd068]17
[8838ab]18int gf_value (const CanonicalForm & f );
19
[a52291]20CanonicalForm make_cf ( const mpz_ptr n );
[2dd068]21
[a52291]22CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
[2dd068]23
[8838ab]24CanonicalForm make_cf_from_gf ( const int z );
25
[2dd068]26/*ENDPUBLIC*/
27
[493c477]28#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.