1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
openbsd-src/games/factor
tb 2fde6ebb66 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
2016-09-01 10:48:38 +00:00
..
factor.6 Michal Mazurek pointed out on tech@ that the factor.6 manual needs a bit 2015-12-30 14:07:53 +00:00
factor.c In 32 bits sqrt(val) + 1 can overflow, so some big primes still 2016-09-01 10:48:38 +00:00
Makefile Instead of using the floating point square root, use an integer version 2016-07-11 18:30:21 +00:00