Changeset 2bc4f5 in git


Ignore:
Timestamp:
Aug 11, 2011, 3:22:54 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
3e305b6ce4edb47687c2d4f484f63a86ab340c0f
Parents:
cc730207d12dc34abc9c79393ad0bbe159c3ff88
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-11 15:22:54+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:19:16+01:00
Message:
ADD: expose mpz_size1: moved from longrat.h to si_gmp.h
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.h

    rcc7302 r2bc4f5  
    1010#include <misc/auxiliary.h>
    1111#include <omalloc/omalloc.h>
     12
    1213#include <coeffs/si_gmp.h>
    1314#include <coeffs/coeffs.h>
     
    2122#define MP_SMALL 1
    2223
    23 #define mpz_size1(A) (ABS((A)->_mp_size))
    24 //#define mpz_size1(A) mpz_size(A)
    2524
    2625struct snumber;
  • libpolys/coeffs/si_gmp.h

    rcc7302 r2bc4f5  
    1 /* $Id$ */
    2 
    3 #ifndef SI_GMP_H
    4 #define SI_GMP_H
     1#ifndef COEFFS_SI_GMP_H
     2#define COEFFS_SI_GMP_H
    53
    64#if defined(__cplusplus) && defined(__GNUC__)
     
    1513#endif
    1614
    17 #endif /* ! SI_GMP_H */
     15
     16#ifndef mpz_size1
     17// This is taken from longrat.h: it seems to be generally GMP-related
     18#define mpz_size1(A) (ABS((A)->_mp_size))
     19//#define mpz_size1(A) mpz_size(A)
     20#endif // mpz_size1
     21
     22
     23#endif /* ! COEFFS_SI_GMP_H */
Note: See TracChangeset for help on using the changeset viewer.