t0
For positive period, the returned value is in the range [0,1).
phase(5003,100,0) = 0.03
phase(5003,100,2) = 0.01
phase(5003,100,4) = 0.99