CycleToRad function
Convert cycle angle to radians angle.
Declaration
function CycleToRad(const Cycles: Single): SingleDescription
Cycletorad transforms it's argument
cycle
(an angle expressed in cycles) to radians.
(1 cycle is $2 \pi$ radians).Errors
None.
See also
Example: ex10
Program Example10;
{ Program to demonstrate the cycletorad function. }
Uses math;
begin
writeln(cos(cycletorad(1/6))); // Should print 1/2
writeln(cos(cycletorad(1/8))); // should be sqrt(2)/2
end.An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
