Changeset 8d5f05 in git for libpolys/coeffs/coeffs.h
- Timestamp:
- Jun 11, 2014, 7:47:46 PM (10 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- 38a53c048e362151c5c6f95afd4ff65bb32f577c
- Parents:
- 8ddc7cdebf2fd739ad88aa6464fcf904707cd2f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
r8ddc7cd r8d5f05 23 23 { 24 24 n_unknown=0, 25 n_Zp, /**< \F{p < ?} */25 n_Zp, /**< \F{p < 2^31} */ 26 26 n_Q, /**< rational (GMP) numbers */ 27 27 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 */ 30 30 n_algExt, /**< used for all algebraic extensions, i.e., 31 31 the top-most extension in an extension tower … … 34 34 the top-most extension in an extension tower 35 35 is transcendental */ 36 n_long_C, /**< complex (GMP) numbers */36 n_long_C, /**< complex floating point (GMP) numbers */ 37 37 n_Z, /**< only used if HAVE_RINGS is defined: ? */ 38 38 n_Zn, /**< only used if HAVE_RINGS is defined: ? */ … … 140 140 // cfExactDiv does an exact division, but no error checking 141 141 // (I'm not sure I understant and even less that this makes sense) 142 numberfunc cfMult, cfSub ,cfAdd ,cfDiv, cfInt Div, cfIntMod, cfExactDiv;142 numberfunc cfMult, cfSub ,cfAdd ,cfDiv, cfIntMod, cfExactDiv; 143 143 144 144 /// init with an integer … … 619 619 { assume(r != NULL); assume(r->cfDiv!=NULL); return r->cfDiv(a,b,r); } 620 620 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 624 621 /// for r a field, return n_Init(0,r) 625 622 /// otherwise: n_Div(a,b,r)*b+n_IntMod(a,b,r)==a
Note: See TracChangeset
for help on using the changeset viewer.