Changeset a8ee9f in git for Singular/misc_ip.h


Ignore:
Timestamp:
Aug 10, 2011, 7:47:18 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
Children:
5ad2f83d3e2adb737f473c82dc9e1098500624e9
Parents:
5ff1d31f3d80f972b5abf4d4435d01cb9b033ffb
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-10 19:47:18+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:19:14+01:00
Message:
FIX: use new MPZ<->NUMBER conversions for coeffs + coeffs_BIGINT
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.h

    r5ff1d3 ra8ee9f  
    1515 *           these algorithms have been moved to the C/C++ kernel.
    1616 *
    17  * @author Frank Seelisch
     17 * @author Frank Seelisch, Oleksandr Motsak
    1818 *
    1919 * @internal @version \$Id$
     
    2525#define MISC_H
    2626
     27#include <misc/auxiliary.h>
     28#include <coeffs/coeffs.h>
     29
     30#include <kernel/structs.h>
    2731#include <coeffs/si_gmp.h>
    28 #include <kernel/structs.h>
    2932
    30 // include basic SINGULAR structures
    31 /* So far nothing is required. */
    32 
    33 /**
    34  * Converts a non-negative bigint number into a GMP number.
    35  *
    36  **/
    37 void number2mpz(number n,   /**< [in]  a bigint number >= 0  */
    38                 mpz_t m     /**< [out] the GMP equivalent    */
    39                );
    40                
    41 /**
    42  * Converts a non-negative GMP number into a bigint number.
    43  *
    44  * @return the bigint number representing the given GMP number
    45  **/
    46 number mpz2number(mpz_t m   /**< [in]  a GMP number >= 0  */
    47                  );
     33#include <Singular/lists.h>
    4834
    4935/**
Note: See TracChangeset for help on using the changeset viewer.