balancing multiplication like that in Ruby 1.9
Merge branch 'lomereiter/master' into develop
add missing updates
Initialize variable "res" to MP_NO.

This avoids an unitialized variable warning in the compiler.

This change originally came from Heimdal's bundled copy of libtommath.

Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Merge branch 'ktdreyer/initialize-variable' into develop
Avoid consecutive return statements

This change keeps static checkers happy.

This change originally came from Heimdal's bundled copy of
libtommath.

Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Merge branch 'ktdreyer/invmod-return' into develop
Add mp_isneg()

This function originally came from Heimdal's bundled copy of libtommath.

Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Merge branch 'ktdreyer/mp_isprime' into develop