![]() |
![]() |
#1 |
"Ed Hall"
Dec 2009
Adirondack Mtns
11FC16 Posts |
![]()
Doesn't this seem a tiny bit odd?
Script (calling YAFU wip r395): Code:
#!/bin/bash np=2 while [ $np -lt 30 ] do printf "nextprime for $np is " np=$(./yafu "nextprime($np)" -silent) echo "$np" done Code:
$ bash primesgen.sh nextprime for 2 is 3 nextprime for 3 is 13 nextprime for 13 is 17 nextprime for 17 is 19 nextprime for 19 is 23 nextprime for 23 is 29 nextprime for 29 is 31 ![]() |
![]() |
![]() |
![]() |
#2 |
"Ben"
Feb 2007
7·11·47 Posts |
![]()
Well, that was silly. Thanks as always for testing! Fixed in r396.
P.s., *cough* "primes(0,1e6,0)" -pscreen *cough* ![]() |
![]() |
![]() |
![]() |
#3 |
"Ed Hall"
Dec 2009
Adirondack Mtns
10001111111002 Posts |
![]() |
![]() |
![]() |
![]() |
#4 | |
"Ben"
Feb 2007
7×11×47 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 | |
"Ed Hall"
Dec 2009
Adirondack Mtns
22·1,151 Posts |
![]() Quote:
Thanks for all! |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
gcc 10.2.0 behavior | bsquared | Programming | 12 | 2021-07-20 12:52 |
nextprime function is spooked by leading zero. | shortcipher | YAFU | 5 | 2018-03-27 13:59 |
nextprime() appears to be limited... | EdH | YAFU | 7 | 2013-03-18 22:09 |
P-1, 4GB RAM on 32 bit OS, odd behavior | PageFault | Software | 2 | 2012-05-06 00:58 |
Question about P-1 behavior | JuanTutors | Software | 0 | 2006-11-18 02:49 |