Namespaces
Variants
Actions

std::acosh, std::acoshf, std::acoshl

From cppreference.com
< cpp‎ | numeric‎ | math
 
 
 
 
Defined in header <cmath>
(1)
float       acosh ( float num );

double      acosh ( double num );

long double acosh ( long double num );
(until C++23)
/*floating-point-type*/
            acosh ( /*floating-point-type*/ num );
(since C++23)
(constexpr since C++26)
float       acoshf( float num );
(2) (since C++11)
(constexpr since C++26)
long double acoshl( long double num );
(3) (since C++11)
(constexpr since C++26)
SIMD overload (since C++26)
Defined in header <simd>
template< /*math-floating-point*/ V >

constexpr /*deduced-simd-t*/<V>

            acosh ( const V& v_num );
(S) (since C++26)
Additional overloads (since C++11)
Defined in header <cmath>
template< class Integer >
double      acosh ( Integer num );
(A) (constexpr since C++26)
1-3) Computes the inverse hyperbolic cosine of num. The library provides overloads of std::acosh for all cv-unqualified floating-point types as the type of the parameter.(since C++23)
S) The SIMD overload performs an element-wise std::acosh on v_num.
(See math-floating-point and deduced-simd-t for their definitions.)
(since C++26)
A) Additional overloads are provided for all integer types, which are treated as double.
(since C++11)

Contents

[