Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Units of trig functions #13

Closed
mrleavitt opened this issue Nov 26, 2012 · 2 comments
Closed

Units of trig functions #13

mrleavitt opened this issue Nov 26, 2012 · 2 comments
Labels

Comments

@mrleavitt
Copy link
Collaborator

For the various trig functions, are the angles measured in degrees or radians? I understand that one can convert from one to the other, but shouldn't we say what the expected units are?

@jMarcS
Copy link
Collaborator

jMarcS commented Nov 27, 2012

They should, good catch. I remember asking the same question when I was writing some math function tests, but I didn't think to make a manual issue of it.

The units are radians. (The math functions just call the Java functions directly, and those all use radians.)

@RFO-BASIC
Copy link
Owner

The BASIC! math function do, as Marc said, call the appropriate Java functions. If you need to reference them...

http://docs.oracle.com/javase/6/docs/api/java/lang/Math.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants