diff options
| author | Paul Eggert | 2011-06-14 13:57:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-14 13:57:33 -0700 |
| commit | 86fe5cfe4de95a44b949db9be105e78497318804 (patch) | |
| tree | 4f2026c11792c0d544be36da5e9289010a8a04a8 /src/alloc.c | |
| parent | 80e88859ec7b69bb88e76e9d23c8dc16151bd836 (diff) | |
| download | emacs-86fe5cfe4de95a44b949db9be105e78497318804.tar.gz emacs-86fe5cfe4de95a44b949db9be105e78497318804.zip | |
* fns.c (next_almost_prime): Don't return a multiple of 3 or 5.
The previous code was bogus. For example, next_almost_prime (32)
returned 39, which is undesirable as it is a multiple of 3; and
next_almost_prime (24) returned 25, which is a multiple of 5 so
why was the code bothering to check for multiples of 7?
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions