tests: Add further tests for mpz code.

This commit is contained in:
Damien George
2015-10-01 18:49:37 +01:00
parent 2f4e8511cd
commit a81539db25
9 changed files with 63 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ i = 1 << 65
# convert bignum to float on rhs
print("%.5g" % (2.0 * i))
# negative bignum as float
print("%.5g" % float(-i))
# this should convert to float
print("%.5g" % (i / 5))