source: git/ntl/doc/flags.txt @ 26e030

spielwiese
Last change on this file since 26e030 was 2cfffe, checked in by Hans Schönemann <hannes@…>, 21 years ago
This commit was generated by cvs2svn to compensate for changes in r6316, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@6317 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.3 KB
Line 
1
2
3Use the compiler flag
4
5    -DNTL_TRANSITION
6
7to help with the transition to NTL 3.0 from earlier versions.
8
9This has the effect of undeclaring certain functions
10whose semantics in 3.0 is different than in versions < 3.0.
11Thus, one can use the compiler to find the trouble spots.
12
13THE LIBRARY CAN NOT BE COMPILED WITH THIS FLAG!
14ONLY USE TO FIND TRANSITION PROBLEMS IN CLIENT CODE.
15
16Undeclares all shift operators for NTL arithmetic type;
17in versions < 3.0, << was a conversion operator; now it
18is a shift operator.
19
20Undeclares division functions in ZZX;  in versions < 3.0,
21these were defined in terms of pseudo-division; now they are
22defined as ordinary division with an error being raised if the
23result is not integral.  Explicit pseudo-division functions
24are now provided for the old semantics.
25
26Undeclares the UpdateMap function in for ZZ_pX and zz_pX;
27in versions < 3.0, the output always had length n;
28now high-order zeroes are stripped.
29
30Undeclares the conversion from GF2X to GF2EX functions;
31in versions < 3.0, this was defined as creating a constant
32polynomial by reduction modulo GF2E::modulus();
33now, it is defined as a coefiicient-wise "lift".
34GF2X and GF2EX happened to be called BB and BB_pX in
35versions < 3.0.
36
37Declares assignment and copy for RR to be private.  The
38semantics of these have changed from "copy and round to
39current precision" to "exact copy".
40
Note: See TracBrowser for help on using the repository browser.