-
August 19th, 2005, 04:33 AM
#1
Cos inverse
Hello
i need a code in C++ to find inverse of cos
and also i need funtion to convert float to int value
thanks
-
August 19th, 2005, 05:12 AM
#2
Re: Cos inverse
Originally Posted by adil56
Hello
i need a code in C++ to find inverse of cos
and also i need funtion to convert float to int value
thanks
Use acos() routine from math. and and for conversation: Just cast. For C++ you should use reinterpret_cast<>() casting operator.
( Moved Thread ) - No WinAPI question
-
August 19th, 2005, 07:23 AM
#3
Re: Cos inverse
To convert float to int you would use static_cast or implicit conversion (but the latter would give you a warning).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|