Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Math.sin 1

Status
Not open for further replies.

chessbot

Programmer
Mar 14, 2004
1,524
US
I know that sine 30° is 0.5. Why, then, does
Code:
System.out.println(Math.sin(30.0));
print -0.9880316240928618?

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Thank you. Just checked the Sun documentation and that is correct.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top