Home | History | Annotate | Download | only in internal

Lines Matching refs:nsteps

5 # entries correspond to x in [1/nsteps, 2/nsteps, ..., nsteps/nsteps].  Encode
8 # Usage: smoothstep.sh <variant> <nsteps> <bfp> <xprec> <yprec>
11 # <nsteps> must be greater than zero.
20 nsteps=$2
40 y=`echo ${yprec} k ${step} ${nsteps} / sx _2 lx 3 ^ '*' 3 lx 2 ^ '*' + p | dc | tr -d '\\\\\n' | sed -e 's#^\.#0.#g'`
46 y=`echo ${yprec} k ${step} ${nsteps} / sx 6 lx 5 ^ '*' _15 lx 4 ^ '*' + 10 lx 3 ^ '*' + p | dc | tr -d '\\\\\n' | sed -e 's#^\.#0.#g'`
52 y=`echo ${yprec} k ${step} ${nsteps} / sx _20 lx 7 ^ '*' 70 lx 6 ^ '*' + _84 lx 5 ^ '*' + 35 lx 4 ^ '*' + p | dc | tr -d '\\\\\n' | sed -e 's#^\.#0.#g'`
81 #define SMOOTHSTEP_NSTEPS ${nsteps}
88 while [ $s -le $nsteps ] ; do
90 x=`echo ${xprec} k ${s} ${nsteps} / p | dc | tr -d '\\\\\n' | sed -e 's#^\.#0.#g'`