From 8b6c743e02a8e6c987715ed6c7957b087211241c Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Tue, 16 Jun 2015 18:44:08 -0700 Subject: [PATCH] math.primes.erato.fast: use literals to show how the wheel is calculated. --- basis/math/primes/erato/fast/fast.factor | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/basis/math/primes/erato/fast/fast.factor b/basis/math/primes/erato/fast/fast.factor index 36ea07631d..d52981dba4 100644 --- a/basis/math/primes/erato/fast/fast.factor +++ b/basis/math/primes/erato/fast/fast.factor @@ -1,17 +1,19 @@ ! Copyright (C) 2015 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: bit-arrays fry kernel kernel.private locals math -math.functions math.private sequences sequences.private ; +USING: bit-arrays fry kernel kernel.private literals locals math +math.functions math.private math.ranges math.statistics +sequences sequences.private ; IN: math.primes.erato.fast fixnum-strict '[ dup _ <= ] [