acosh, acoshf, acoshl
Ters hiperbolik cosine hesaplar.
double acosh( double x ); float acosh( float x ); // C++ only long double acosh( long double x ); // C++ only float acoshf( float x ); long double acoshl( long double x );
Parametreler
- x
Kayan nokta değeri.
Dönüş Değeri
acosh İşlevler döndürür, ters hyberbolic cosine (yay hiperbolik cosine) x.Bu işlevler etki alanı üzerinde geçerli x ≥ 1.Varsa x 1'den küçük olan errno ayarlamak EDOM ve sonucu bir sessiz NaN.Varsa x sessiz NaN, belirsiz veya sonsuz, aynı değeri döndürülür.
Giriş |
SEH özel durumu |
_matherrÖzel durum |
---|---|---|
± QNAN, UL, BİLGİ |
yok |
yok |
x < 1 |
yok |
yok |
Notlar
When you use C++, you can call overloads of acosh that take and return float or long double values.Bir C programında acosh her zaman alan ve döndüren double.
Gereksinimler
İşlev |
C üstbilgisi |
C++ üstbilgisi |
---|---|---|
acosh, acoshf, acoshl |
< math.h > |
<cmath> |
Uyumluluk ek bilgi için bkz Uyumluluk.
Örnek
// crt_acosh.c
// Compile by using: cl /W4 crt_acosh.c
// This program displays the hyperbolic cosine of pi / 4
// and the arc hyperbolic cosine of the result.
#include <math.h>
#include <stdio.h>
int main( void )
{
double pi = 3.1415926535;
double x, y;
x = cosh( pi / 4 );
y = acosh( x );
printf( "cosh( %f ) = %f\n", pi/4, x );
printf( "acosh( %f ) = %f\n", x, y );
}
.NET Framework Eşdeğeri
Uygulanamaz. Standart C işlevini çağırmak için PInvoke kullanın. Daha fazla bilgi için bkz. Platform Çağırma Örnekleri.
Ayrıca bkz.
Başvuru
cos, cosf, cosl, cosh, coshf, coshl
sin, sinf, sinl, sinh, sinhf, sinhl