diff options
author | tompng <[email protected]> | 2024-03-17 23:03:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-03-18 13:52:27 +0900 |
commit | 0ff2c7fe6fbd663ebffdbbd09c44b810cdf492d2 (patch) | |
tree | 47f0cb5a9f291f6381c0c2999b351ed5ebac899c /spec/ruby | |
parent | dcfbe36cb552ca70df82b3aeb346045733ade62e (diff) |
Faster Integer.sqrt for large bignum
Integer.sqrt uses Newton's method.
This pull request reduces the precision which was unnecessarily high in each calculation step.
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions