summaryrefslogtreecommitdiff
path: root/.x-sc_GPL_version
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2019-04-28 03:45:11 -0400
committerMark H Weaver <mhw@netris.org>2019-05-07 04:39:52 -0400
commit5b42fd80d7765953c472ffc002351e04cc307bad (patch)
tree0044eb8d3807d7bbfc2fc623ddaa0bb4ad6c69e3 /.x-sc_GPL_version
parent162a031e5f2c64cd23fcf069fb7b5071196f9527 (diff)
Optimize fixnum exact integer square roots.
* libguile/numbers.c (scm_exact_integer_sqrt, scm_sqrt) (exact_integer_is_perfect_square, exact_integer_floor_square_root): Where it is trivial to do so, use GMP's low-level mpn functions to avoid heap allocation.
Diffstat (limited to '.x-sc_GPL_version')
0 files changed, 0 insertions, 0 deletions