Talk:Trigonometric functions

From Rosetta Code
Revision as of 04:31, 9 January 2008 by rosettacode>Waldorf (There is no error. 45 degrees is the same angle as 0.7854 (Pi/4) radians.)

Why are the last four pairs of numbers different for the ada example? The program was to use the same angle in degrees and radians so as long as the function is set for degrees or radians it should give the same number. --Mwn3d 07:14, 8 January 2008 (MST)

There is no error. 45 degrees is the same angle as 0.7854 (Pi/4) radians. A function set for radians cannot return degrees, and vice versa.--Waldorf 21:31, 8 January 2008 (MST)