View Full Version : Stupid C question...
10-01-2001, 08:26 PM
What is the inverse cosine function in the math library for C/C++?? i looked in the header and all it had was cos, cosh, and acos... but none of them seem to be the inverse function.
10-01-2001, 09:29 PM
acos == arccos. I guess the developers of the stdlib were too lazy to write it out in full http://www.opengl.org/discussion_boards/ubb/wink.gif
10-01-2001, 11:56 PM
Ooo, that makes me feel old.... the differnece between arc and inv is just a question of age! :-(
10-02-2001, 02:09 AM
Lol, thanks, but what is cosh then?
cosh(x) = (e^x + e^-x) / 2
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.