Changeset 644b31 in git for libpolys/polys/ext_fields/transext.cc
- Timestamp:
- Feb 20, 2013, 7:02:58 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '1d362c315e551a5b527ab0759f8839cf0e94f3a5')
- Children:
- 0723d52f38b257cac43d6e4c57aa7a5d243f5002628f663dc4f87ee80a30f2fabcac34fba9b2b144
- Parents:
- ef7324f0fe134054c1000413c4d1fa21ccc163b1
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-20 19:02:58+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-20 19:17:44+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
ref7324 r644b31 850 850 fraction result = (fraction)omAlloc0Bin(fractionObjectBin); 851 851 NUM(result) = g; 852 if (!n_GreaterZero(pGetCoeff(f),ntRing->cf)) 853 { 854 g=p_Neg(g,ntRing); 855 f=p_Neg(f,ntRing); 856 NUM(result) = g; 857 } 852 858 if (!p_IsConstant(f,ntRing) || !n_IsOne(pGetCoeff(f),ntRing->cf)) 859 { 853 860 DEN(result) = f; 861 } 854 862 COM(result) = COM(fa) + COM(fb) + MULT_COMPLEXITY; 855 863 heuristicGcdCancellation((number)result, cf);
Note: See TracChangeset
for help on using the changeset viewer.