source: git/factory/singext.h @ e4fe2b

spielwiese
Last change on this file since e4fe2b was e4fe2b, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: Fixed huge BUG in cf_gmp.h CHG: starting to cleanup factory
  • Property mode set to 100644
File size: 598 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 MP_INT & n );
21
22CanonicalForm make_cf ( const MP_INT & n, const MP_INT & 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.