first homework
This commit is contained in:
@@ -2,6 +2,7 @@ from dedekint import REAL
|
||||
# mpq for rational numbers
|
||||
from gmpy2 import mpq
|
||||
|
||||
# Theorem 3.1 (4)
|
||||
|
||||
def sqrt_two(q):
|
||||
if q <= 0 or q * q < 2: return True
|
||||
|
Reference in New Issue
Block a user