Changeset 8d5f05 in git for libpolys/coeffs/coeffs.h


Ignore:
Timestamp:
Jun 11, 2014, 7:47:46 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
38a53c048e362151c5c6f95afd4ff65bb32f577c
Parents:
8ddc7cdebf2fd739ad88aa6464fcf904707cd2f1
Message:
removed n_IntDiv/cfIntDiv etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r8ddc7cd r8d5f05  
    2323{
    2424  n_unknown=0,
    25   n_Zp, /**< \F{p < ?} */
     25  n_Zp, /**< \F{p < 2^31} */
    2626  n_Q,  /**< rational (GMP) numbers */
    2727  n_R,  /**< single prescision (6,6) real numbers */
    28   n_GF, /**< \GF{p^n < 32001?} */
    29   n_long_R, /**< real (GMP) numbers */
     28  n_GF, /**< \GF{p^n < 2^16} */
     29  n_long_R, /**< real floating point (GMP) numbers */
    3030  n_algExt,  /**< used for all algebraic extensions, i.e.,
    3131                the top-most extension in an extension tower
     
    3434                  the top-most extension in an extension tower
    3535                  is transcendental */
    36   n_long_C, /**< complex (GMP) numbers */
     36  n_long_C, /**< complex floating point (GMP) numbers */
    3737  n_Z, /**< only used if HAVE_RINGS is defined: ? */
    3838  n_Zn, /**< only used if HAVE_RINGS is defined: ? */
     
    140140   //   cfExactDiv does an exact division, but no error checking
    141141   //   (I'm not sure I understant and even less that this makes sense)
    142    numberfunc cfMult, cfSub ,cfAdd ,cfDiv, cfIntDiv, cfIntMod, cfExactDiv;
     142   numberfunc cfMult, cfSub ,cfAdd ,cfDiv, cfIntMod, cfExactDiv;
    143143
    144144   /// init with an integer
     
    619619{ assume(r != NULL); assume(r->cfDiv!=NULL); return r->cfDiv(a,b,r); }
    620620
    621 static inline number n_IntDiv(number a, number b, const coeffs r)
    622 { assume(r != NULL); assume(r->cfIntDiv!=NULL); return r->cfIntDiv(a,b,r); }
    623 
    624621/// for r a field, return n_Init(0,r)
    625622/// otherwise: n_Div(a,b,r)*b+n_IntMod(a,b,r)==a
Note: See TracChangeset for help on using the changeset viewer.