📄 flags.txt
字号:
Use the compiler flag -DNTL_TRANSITIONto help with the transition to NTL 3.0 from earlier versions.This has the effect of undeclaring certain functionswhose semantics in 3.0 is different than in versions < 3.0.Thus, one can use the compiler to find the trouble spots.THE LIBRARY CAN NOT BE COMPILED WITH THIS FLAG!ONLY USE TO FIND TRANSITION PROBLEMS IN CLIENT CODE.Undeclares all shift operators for NTL arithmetic type;in versions < 3.0, << was a conversion operator; now itis a shift operator.Undeclares division functions in ZZX; in versions < 3.0,these were defined in terms of pseudo-division; now they aredefined as ordinary division with an error being raised if theresult is not integral. Explicit pseudo-division functionsare now provided for the old semantics.Undeclares the UpdateMap function in for ZZ_pX and zz_pX;in versions < 3.0, the output always had length n;now high-order zeroes are stripped.Undeclares the conversion from GF2X to GF2EX functions;in versions < 3.0, this was defined as creating a constantpolynomial by reduction modulo GF2E::modulus();now, it is defined as a coefiicient-wise "lift".GF2X and GF2EX happened to be called BB and BB_pX in versions < 3.0.Declares assignment and copy for RR to be private. Thesemantics of these have changed from "copy and round tocurrent precision" to "exact copy".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -