Searched refs:factor (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/warp/
H A Dwarp.sh22 integer warp now base factor
39 [+time = time + warp + (time - base) * (factor - 1)?]
53 [f:factor?Set the warped clock to tick at \afactor\a seconds per real second.]:
54 [factor:=1]
123 USAGE='b:[base]f:[factor]nt date [ command [ arg ... ] ]'
132 f) factor=$OPTARG ;;
176 : determine the warp factor base
178 if (( factor ))
188 opt="$opt-b$base -f$factor "
H A Dwarp.c27 * and the time progression factor
241 #define WARP_ABS(t) ((t)+=(t)?(state.warp+(state.factor?mix((t)-state.base):0)):0)
242 #define UNWARP_ABS(t) ((t)=(t)?(((t)-state.warp)/(state.factor+1)+state.base/(state.factor+1)*state.factor):0)
244 #define WARP_REL(t) ((t)=(t)?(state.factor?mix(t):(t)):0)
245 #define UNWARP_REL(t) ((t)=(t)?(state.factor?((t)/state.factor):(t)):0)
260 long factor; member in struct:__anon241
274 * under the influence of a warp factor
[all...]

Completed in 10 milliseconds