Specify radians vs degrees #29

davedelong opened this Issue Aug 31, 2012 · 0 comments


None yet
1 participant

davedelong commented Aug 31, 2012

From this Stackoverflow.com question, the author is requesting the ability to specify that the trigonometric functions take their arguments in degrees instead of radians.

For example, in degree mode:

sin(45) = 0.7071067811865475
sin(π/2) = 0.02741213359204429

Whereas in radians mode (the default):

sin(45) = 0.8509035245341184
sin(π/2) = 1

@ghost ghost assigned davedelong Aug 31, 2012

davedelong added a commit that referenced this issue Aug 31, 2012

DDMathEvaluator.angleMeasurementMode. Fixes issue #29.
DDMathEvaluator has a new property to specify that the arguments to the trigonometric functions should be interpreted as being in degrees versus radians (the default).

@davedelong davedelong closed this Aug 31, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment