logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

asinh.3p (3562B)


  1. '\" et
  2. .TH ASINH "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. asinh,
  12. asinhf,
  13. asinhl
  14. \(em inverse hyperbolic sine functions
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. #include <math.h>
  19. .P
  20. double asinh(double \fIx\fP);
  21. float asinhf(float \fIx\fP);
  22. long double asinhl(long double \fIx\fP);
  23. .fi
  24. .SH DESCRIPTION
  25. The functionality described on this reference page is aligned with the
  26. ISO\ C standard. Any conflict between the requirements described here and the
  27. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  28. .P
  29. These functions shall compute the inverse hyperbolic sine of their
  30. argument
  31. .IR x .
  32. .P
  33. An application wishing to check for error situations should set
  34. .IR errno
  35. to zero and call
  36. .IR feclearexcept (FE_ALL_EXCEPT)
  37. before calling these functions. On return, if
  38. .IR errno
  39. is non-zero or \fIfetestexcept\fR(FE_INVALID | FE_DIVBYZERO |
  40. FE_OVERFLOW | FE_UNDERFLOW) is non-zero, an error has occurred.
  41. .SH "RETURN VALUE"
  42. Upon successful completion, these functions shall return the inverse
  43. hyperbolic sine of their argument.
  44. .P
  45. If
  46. .IR x
  47. is NaN, a NaN shall be returned.
  48. .P
  49. If
  50. .IR x
  51. is \(+-0, or \(+-Inf,
  52. .IR x
  53. shall be returned.
  54. .P
  55. If
  56. .IR x
  57. is subnormal, a range error may occur
  58. .br
  59. and
  60. .IR x
  61. should be returned.
  62. .P
  63. If
  64. .IR x
  65. is not returned,
  66. \fIasinh\fR(),
  67. \fIasinhf\fR(),
  68. and
  69. \fIasinhl\fR()
  70. shall return an implementation-defined value no greater in magnitude
  71. than DBL_MIN, FLT_MIN, and LDBL_MIN, respectively.
  72. .SH ERRORS
  73. These functions may fail if:
  74. .IP "Range\ Error" 12
  75. The value of
  76. .IR x
  77. is subnormal.
  78. .RS 12
  79. .P
  80. If the integer expression (\fImath_errhandling\fR & MATH_ERRNO) is
  81. non-zero, then
  82. .IR errno
  83. shall be set to
  84. .BR [ERANGE] .
  85. If the integer expression (\fImath_errhandling\fR & MATH_ERREXCEPT) is
  86. non-zero, then the underflow floating-point exception shall be raised.
  87. .RE
  88. .LP
  89. .IR "The following sections are informative."
  90. .SH EXAMPLES
  91. None.
  92. .SH "APPLICATION USAGE"
  93. On error, the expressions (\fImath_errhandling\fR & MATH_ERRNO) and
  94. (\fImath_errhandling\fR & MATH_ERREXCEPT) are independent of each
  95. other, but at least one of them must be non-zero.
  96. .SH RATIONALE
  97. None.
  98. .SH "FUTURE DIRECTIONS"
  99. None.
  100. .SH "SEE ALSO"
  101. .IR "\fIfeclearexcept\fR\^(\|)",
  102. .IR "\fIfetestexcept\fR\^(\|)",
  103. .IR "\fIsinh\fR\^(\|)"
  104. .P
  105. The Base Definitions volume of POSIX.1\(hy2017,
  106. .IR "Section 4.20" ", " "Treatment of Error Conditions for Mathematical Functions",
  107. .IR "\fB<math.h>\fP"
  108. .\"
  109. .SH COPYRIGHT
  110. Portions of this text are reprinted and reproduced in electronic form
  111. from IEEE Std 1003.1-2017, Standard for Information Technology
  112. -- Portable Operating System Interface (POSIX), The Open Group Base
  113. Specifications Issue 7, 2018 Edition,
  114. Copyright (C) 2018 by the Institute of
  115. Electrical and Electronics Engineers, Inc and The Open Group.
  116. In the event of any discrepancy between this version and the original IEEE and
  117. The Open Group Standard, the original IEEE and The Open Group Standard
  118. is the referee document. The original Standard can be obtained online at
  119. http://www.opengroup.org/unix/online.html .
  120. .PP
  121. Any typographical or formatting errors that appear
  122. in this page are most likely
  123. to have been introduced during the conversion of the source files to
  124. man page format. To report such errors, see
  125. https://www.kernel.org/doc/man-pages/reporting_bugs.html .