Fix exact-integer-sqrt.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Merge pull request #217 from omasanori/exact-integer-sqrt

Fix exact-integer-sqrt.