inverse Sin Cos Tan

This is a discussion on inverse Sin Cos Tan within the C++ Programming forums, part of the General Programming Boards category; Is there functionality in the C or C++ library for inverse Sin, Cos, and Tan. I did skim through the ...

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    31

    inverse Sin Cos Tan

    Is there functionality in the C or C++ library for inverse Sin, Cos, and Tan. I did skim through the C reference site but couldn't find anything, if not is there a workaround?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,648
    You can use std::asin, std::acos and std::atan respectively. Like std::sin, std::cos and std::tan they are available via <cmath>.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Quote Originally Posted by laserlight View Post
    You can use std::asin, std::acos and std::atan respectively. Like std::sin, std::cos and std::tan they are available via <cmath>.
    or math.h for the C versions
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with cos, sin fuctions
    By xxxhunter in forum C Programming
    Replies: 7
    Last Post: 11-16-2007, 02:33 AM
  2. Help creating function of sin cos and tan
    By Niz in forum C Programming
    Replies: 12
    Last Post: 01-09-2007, 04:55 PM
  3. sin() and cos() that use degrees
    By dwks in forum C Programming
    Replies: 3
    Last Post: 05-14-2005, 04:29 PM
  4. integral of 1/x
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 43
    Last Post: 03-19-2004, 06:47 AM
  5. Inverse Tan
    By spidereen in forum C++ Programming
    Replies: 2
    Last Post: 03-04-2003, 07:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21