diff options
author | Koki Fushimi <paalon1936@gmail.com> | 2018-05-26 14:31:45 +0900 |
---|---|---|
committer | Dmitry Atamanov <data-man@users.noreply.github.com> | 2018-05-26 08:31:45 +0300 |
commit | 09283bb9399f3eba62d2ce682d25b7b34a4ec135 (patch) | |
tree | 7794170940b79497bc7eed55da5f9274f907e8be /nimsuggest | |
parent | 08637bc2724c3b21e966c0d00f7ced84c74f1ce3 (diff) | |
download | Nim-09283bb9399f3eba62d2ce682d25b7b34a4ec135.tar.gz |
Faster binary gcd algorithm (#7849)
* Faster binary gcd algorithm. * Use built in countTrailingZeroBits to calculate gcd. * Add definitions of gcd for integers and other types. * Unified signed case and unsinged case in one proc by using when syntax. * Change to faster one.
Diffstat (limited to 'nimsuggest')
0 files changed, 0 insertions, 0 deletions