bpo-36957: Speed up math.isqrt by mdickinson · Pull Request #13405 · python/cpython

and others added 17 commits

May 11, 2019 14:56
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
Use real argument clinic type instead of an alias

Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
- clarify that floats are rejected even if they happen to be
  squares of small integers
- TypeError beats ValueError for a negative float

@mdickinson

@mdickinson

serhiy-storchaka

serhiy-storchaka

@mdickinson

@mdickinson

@mdickinson

mdickinson

serhiy-storchaka

@mdickinson

Add missing `static` declaration to helper function.

Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>

serhiy-storchaka

@mdickinson