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

signbit.3p (2275B)


  1. '\" et
  2. .TH SIGNBIT "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. signbit
  12. \(em test sign
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <math.h>
  17. .P
  18. int signbit(real-floating \fIx\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The functionality described on this reference page is aligned with the
  22. ISO\ C standard. Any conflict between the requirements described here and the
  23. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  24. .P
  25. The
  26. \fIsignbit\fR()
  27. macro shall determine whether the sign of its argument value is
  28. negative. NaNs, zeros, and infinities have a sign bit.
  29. .SH "RETURN VALUE"
  30. The
  31. \fIsignbit\fR()
  32. macro shall return a non-zero value if and only if the sign of its
  33. argument value is negative.
  34. .SH ERRORS
  35. No errors are defined.
  36. .LP
  37. .IR "The following sections are informative."
  38. .SH EXAMPLES
  39. None.
  40. .SH "APPLICATION USAGE"
  41. None.
  42. .SH RATIONALE
  43. None.
  44. .SH "FUTURE DIRECTIONS"
  45. None.
  46. .SH "SEE ALSO"
  47. .IR "\fIfpclassify\fR\^(\|)",
  48. .IR "\fIisfinite\fR\^(\|)",
  49. .IR "\fIisinf\fR\^(\|)",
  50. .IR "\fIisnan\fR\^(\|)",
  51. .IR "\fIisnormal\fR\^(\|)"
  52. .P
  53. The Base Definitions volume of POSIX.1\(hy2017,
  54. .IR "\fB<math.h>\fP"
  55. .\"
  56. .SH COPYRIGHT
  57. Portions of this text are reprinted and reproduced in electronic form
  58. from IEEE Std 1003.1-2017, Standard for Information Technology
  59. -- Portable Operating System Interface (POSIX), The Open Group Base
  60. Specifications Issue 7, 2018 Edition,
  61. Copyright (C) 2018 by the Institute of
  62. Electrical and Electronics Engineers, Inc and The Open Group.
  63. In the event of any discrepancy between this version and the original IEEE and
  64. The Open Group Standard, the original IEEE and The Open Group Standard
  65. is the referee document. The original Standard can be obtained online at
  66. http://www.opengroup.org/unix/online.html .
  67. .PP
  68. Any typographical or formatting errors that appear
  69. in this page are most likely
  70. to have been introduced during the conversion of the source files to
  71. man page format. To report such errors, see
  72. https://www.kernel.org/doc/man-pages/reporting_bugs.html .