Function phase( t, period )

Description:
Returns the phase of a value within a period.

For positive period, the returned value is in the range [0,1).

Parameters:
t (floating point)
value
period (floating point)
folding period
Return Value (floating point):
mod(t,period)/period
Examples:
Signature:
double phase(double, double)