summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-09-01 10:48:39 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-09-01 10:48:39 +0000
commitee53dd87f9d99cedb38af9fce16ff4fca4cbab89 (patch)
treef4edfeb85014650bf4fc32d42b2c7d0407ec96d3 /gnu
parent97072d957f586519f005508243061c570f4614f9 (diff)
In 32 bits sqrt(val) + 1 can overflow, so some big primes still
aren't recognized as such, for example 18446744073709551577 given in the commit message of factor.c r1.7 from NetBSD. Move the return type of usqrt() from u_int32_t to u_int64_t. ok guenther, tom, otto
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions