Hello,
perhaps you've seen on the Maxima mailing list,
there appears to be a bug with Ecl version 11.1.1:
We get the result "next_prime(113) = 121 = 11^2", where the
problem is that, to cite,
---------
(loop while 1 do
(dolist (p *small-primes*)
(if (= (mmod n p) 0) (return))
(if (>= (* p p) n) (return-from next-prime-det n)))
(incf n (nth (mmod n 210) deltaprimes)))
For whatever reason, ecl doesn't execute the loop. It should because
"1" is equivalent to true. When I change the 1 to T, ecl returns 127 as
the next prime.
----------
With best regards
Oliver
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list