.
This commit is contained in:
parent
67e3e04ea2
commit
eea5f9ccb0
1 changed files with 10 additions and 0 deletions
10
test-factordb.l
Normal file
10
test-factordb.l
Normal file
|
@ -0,0 +1,10 @@
|
|||
(load "isprime.l")
|
||||
(in '(bzcat factordb-prp.bz2)
|
||||
(until (eof)
|
||||
(let N (format (line T))
|
||||
(at (0 . 10000) (prin ".") (flush))
|
||||
(or
|
||||
(prime? N)
|
||||
(quit "Boom!") ) ) ) )
|
||||
(msg 'ok)
|
||||
(bye)
|
Loading…
Reference in a new issue