Commit adb7ce16 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Fixed unconverted t_dbl into t_udbl

parent 4793cc46
......@@ -1092,13 +1092,13 @@ int mpi_div_mpi( mpi *Q, mpi *R, const mpi *A, const mpi *B )
else
{
#if defined(POLARSSL_HAVE_LONGLONG)
t_dbl r;
t_udbl r;
r = (t_dbl) X.p[i] << biL;
r |= (t_dbl) X.p[i - 1];
r = (t_udbl) X.p[i] << biL;
r |= (t_udbl) X.p[i - 1];
r /= Y.p[t];
if( r > ((t_dbl) 1 << biL) - 1)
r = ((t_dbl) 1 << biL) - 1;
if( r > ((t_udbl) 1 << biL) - 1)
r = ((t_udbl) 1 << biL) - 1;
Z.p[i - t - 1] = (t_uint) r;
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment