The mathematical function library in C++

This is a discussion on The mathematical function library in C++ within the C++ Programming forums, part of the General Programming Boards category; I have just started c++ and after collecting some tens of books i want to write some programmes different from ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    18

    The mathematical function library in C++

    I have just started c++ and after collecting some tens of books i want to write some programmes different from what books have already.But when i want to write codes its quite hard for me.For example;i could hardly find below information but its not enough;how can i find whole lists of functions of standart libraries like math library.

    Some of the mathematical functions available in the C++ mathematics library are listed below;

    acos(x) inverse cosine, -1 <= x <= +1, returns value in radians in range 0 to PI
    asin(x) inverse sine, -1 <= x <= +1, returns value in radians in range 0 to PI
    atan(x) inverse tangent, returns value in radians in range -PI/2 to PI/2
    cos(x) returns cosine of x, x in radians
    sin(x) returns sine of x, x in radians
    tan(x) returns tangent of x, x in radians
    exp(x) exponential function, e to power x
    log(x) natural log of x (base e), x > 0
    sqrt(x) square root of x, x >= 0
    fabs(x) absolute value of x
    floor(x) largest integer not greater than x
    ceil(x) smallest integer not less than x

  2. #2
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    18
    Thanks a lot man....its really helpfull.but to say the truth i dont know for wat i should want to pres any key for some hundred times

  4. #4
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Lol, that's my sig, not my post.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Style Points
    By jason_m in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 07:15 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM
  4. I need help with passing pointers in function calls
    By vien_mti in forum C Programming
    Replies: 3
    Last Post: 04-24-2002, 11:00 AM
  5. qt help
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 04-20-2002, 10:51 AM

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