Commit 12eebb16 authored by Taddeus Kroes's avatar Taddeus Kroes

Updated some comments.

parent 49391e6c
......@@ -7,6 +7,10 @@ from ..translate import _
def is_eliminateable_sqrt(n):
"""
Check if the square root of n can be evaluated so that the square root
disappears (is eliminated).
"""
if isinstance(n, int):
return n > 3 and int(math.sqrt(n)) ** 2 == n
......
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