asinl() in C++

asinl(): This function is defined in the file math.h. It takes one argument (arg) as an input. It takes an argument in the range [-1.0,1.0]. It returns the value in the range [-π/2,π/2]. It computes the principal value of the arc sine of arg.

Parameters: One parameter is required for this function.

__arg: A value whose arc sine value is to be determined.

Syntax:

asinl(__arg)

For Example:

asinl(0.45) => It returns the value 0.466765

Approach

C++

#include <bits/stdc++.h>
using namespace std;

int main()
{

    long double x = 0.45;
    cout << asinl(x<< "\n";

    return 0;
}


No comments:

Post a Comment