Skip to content

Commit 7415eda

Browse files
committed
test with high short product
1 parent 6e530cf commit 7415eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

s_mp_faster_to_radix.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ static mp_err s_mp_to_radix_recursive(const mp_int *a, char **str, size_t *part_
6464
/* TODO: we don't need the full "a" only the upper part: a = a_1\beta + a_0 with 0 < a_0 < \beta
6565
(high short-product with s_mp_mul_high).
6666
Problem: s_mp_mul_high does not make use of fast multiplication except COMBA.
67-
(You can do it with Toom-Cook algorithms, but that is work for another day.) */
67+
(You can do it with Toom-Cook algorithms, but that is work for another day.) */#
68+
/*if( (err = s_mp_mul_high(a, &R[t], &q, (a->used/2) + 1) ) != MP_OKAY) goto LTM_ERR;*/
6869
if ((err = mp_mul(a, &R[t], &q)) != MP_OKAY) goto LTM_ERR;
6970
if ((err = mp_div_2d(&q, Beta, &q, NULL)) != MP_OKAY) goto LTM_ERR;
7071

0 commit comments

Comments
 (0)