@@ -62,13 +62,14 @@ public boolean isNonZero() {
6262 * TODO-CR BR: $h$ is allocated via new, probably not a good idea. Do we need the copying into temp variables if we do that?
6363 * <p>
6464 * Preconditions:
65- * <p><ul>
65+ * </ p><ul>
6666 * <li>$|f|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
6767 * <li>$|g|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
6868 * </ul><p>
6969 * Postconditions:
70- * <p><ul>
70+ * </ p><ul>
7171 * <li>$|h|$ bounded by $1.1*2^{26},1.1*2^{25},1.1*2^{26},1.1*2^{25},$ etc.
72+ * </ul>
7273 *
7374 * @param val The field element to add.
7475 * @return The field element this + val.
@@ -90,13 +91,14 @@ public FieldElement add(FieldElement val) {
9091 * TODO-CR BR: See above.
9192 * <p>
9293 * Preconditions:
93- * <p><ul>
94+ * </ p><ul>
9495 * <li>$|f|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
9596 * <li>$|g|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
9697 * </ul><p>
9798 * Postconditions:
98- * <p><ul>
99+ * </ p><ul>
99100 * <li>$|h|$ bounded by $1.1*2^{26},1.1*2^{25},1.1*2^{26},1.1*2^{25},$ etc.
101+ * </ul>
100102 *
101103 * @param val The field element to subtract.
102104 * @return The field element this - val.
@@ -116,12 +118,13 @@ public FieldElement subtract(FieldElement val) {
116118 * TODO-CR BR: see above.
117119 * <p>
118120 * Preconditions:
119- * <p><ul>
121+ * </ p><ul>
120122 * <li>$|f|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
121123 * </ul><p>
122124 * Postconditions:
123- * <p><ul>
125+ * </ p><ul>
124126 * <li>$|h|$ bounded by $1.1*2^{25},1.1*2^{24},1.1*2^{25},1.1*2^{24},$ etc.
127+ * </ul>
125128 *
126129 * @return The field element (-1) * this.
127130 */
@@ -139,14 +142,14 @@ public FieldElement negate() {
139142 * Can overlap $h$ with $f$ or $g$.
140143 * <p>
141144 * Preconditions:
142- * <p><ul>
145+ * </ p><ul>
143146 * <li>$|f|$ bounded by
144147 * $1.65*2^{26},1.65*2^{25},1.65*2^{26},1.65*2^{25},$ etc.
145148 * <li>$|g|$ bounded by
146149 * $1.65*2^{26},1.65*2^{25},1.65*2^{26},1.65*2^{25},$ etc.
147150 * </ul><p>
148151 * Postconditions:
149- * <p><ul>
152+ * </ p><ul>
150153 * <li>$|h|$ bounded by
151154 * $1.01*2^{25},1.01*2^{24},1.01*2^{25},1.01*2^{24},$ etc.
152155 * </ul><p>
@@ -390,11 +393,11 @@ public FieldElement multiply(FieldElement val) {
390393 * Can overlap $h$ with $f$.
391394 * <p>
392395 * Preconditions:
393- * <p><ul>
396+ * </ p><ul>
394397 * <li>$|f|$ bounded by $1.65*2^{26},1.65*2^{25},1.65*2^{26},1.65*2^{25},$ etc.
395398 * </ul><p>
396399 * Postconditions:
397- * <p><ul>
400+ * </ p><ul>
398401 * <li>$|h|$ bounded by $1.01*2^{25},1.01*2^{24},1.01*2^{25},1.01*2^{24},$ etc.
399402 * </ul><p>
400403 * See {@link #multiply(FieldElement)} for discussion
@@ -546,11 +549,11 @@ public FieldElement square() {
546549 * Can overlap $h$ with $f$.
547550 * <p>
548551 * Preconditions:
549- * <p><ul>
552+ * </ p><ul>
550553 * <li>$|f|$ bounded by $1.65*2^{26},1.65*2^{25},1.65*2^{26},1.65*2^{25},$ etc.
551554 * </ul><p>
552555 * Postconditions:
553- * <p><ul>
556+ * </ p><ul>
554557 * <li>$|h|$ bounded by $1.01*2^{25},1.01*2^{24},1.01*2^{25},1.01*2^{24},$ etc.
555558 * </ul><p>
556559 * See {@link #multiply(FieldElement)} for discussion
0 commit comments