Math » asin() module

Constexpr-friendly alternatives to std::asin.

Functions

auto asin(half x) -> half constexpr noexcept
Returns the arc sine of a half-precision float.
auto asin(float x) -> float constexpr noexcept
Returns the arc sine of a float.
auto asin(double x) -> double constexpr noexcept
Returns the arc sine of a double.
auto asin(long double x) -> long double constexpr noexcept
Returns the arc sine of a long double.
auto asin(float128_t x) -> float128_t constexpr noexcept
Returns the arc sine of a float128_t.
auto asin(_Float16 x) -> _Float16 constexpr noexcept
Returns the arc sine of a _Float16.
template <typename T>
auto asin(T x) -> double constexpr noexcept
Returns the arc sine of an integer.

Function documentation

half asin(half x) constexpr noexcept
#include <muu/half.h>

Returns the arc sine of a half-precision float.

float asin(float x) constexpr noexcept
#include <muu/math.h>

Returns the arc sine of a float.

double asin(double x) constexpr noexcept
#include <muu/math.h>

Returns the arc sine of a double.

long double asin(long double x) constexpr noexcept
#include <muu/math.h>

Returns the arc sine of a long double.

float128_t asin(float128_t x) constexpr noexcept
#include <muu/math.h>

Returns the arc sine of a float128_t.

_Float16 asin(_Float16 x) constexpr noexcept
#include <muu/math.h>

Returns the arc sine of a _Float16.

#include <muu/math.h>
template <typename T>
double asin(T x) constexpr noexcept

Returns the arc sine of an integer.