mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-21 16:29:31 +00:00
Add headers and docs for the acosh functions.
This commit is contained in:
parent
033ff816aa
commit
c767848ec9
@ -69,6 +69,9 @@ int __fpcompare(long double, long double, short);
|
||||
double acos(double);
|
||||
float acosf(float);
|
||||
long double acosl(long double);
|
||||
double acosh(double);
|
||||
float acoshf(float);
|
||||
long double acoshl(long double);
|
||||
double asin(double);
|
||||
float asinf(float);
|
||||
long double asinl(long double);
|
||||
|
@ -36,6 +36,7 @@
|
||||
#define __tg_x_y(fn,x,y) __tg_real_x_y(fn,(x),(y))
|
||||
|
||||
#define acos(x) __tg_x(acos,(x))
|
||||
#define acosh(x) __tg_x(acosh,(x))
|
||||
#define asin(x) __tg_x(asin,(x))
|
||||
#define atan(x) __tg_x(atan,(x))
|
||||
#define atan2(y,x) __tg_real_x_y(atan2,(y),(x))
|
||||
|
7
cc.notes
7
cc.notes
@ -896,6 +896,13 @@ These macros accept arguments of any real floating types, i.e. float, double, or
|
||||
|
||||
Also, note that under ORCA/C these functions generally will not set errno for error conditions (e.g. domain and range errors). However, they do set floating-point exceptions as appropriate. The <fenv.h> functions documented above can be used to retrieve these exceptions, allowing errors to be detected.
|
||||
|
||||
#include <math.h>
|
||||
dou acosh(double x);
|
||||
float acoshf(float x);
|
||||
long double acoshl(long double x);
|
||||
|
||||
These functions return the (non-negative) inverse hyperbolic cosine of x.
|
||||
|
||||
#include <math.h>
|
||||
double cbrt(double x);
|
||||
float cbrtf(float x);
|
||||
|
Loading…
Reference in New Issue
Block a user