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

isunordered.3p (3081B)


  1. '\" et
  2. .TH ISUNORDERED "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. isunordered
  12. \(em test if arguments are unordered
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <math.h>
  17. .P
  18. int isunordered(real-floating \fIx\fP, real-floating \fIy\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. \fIisunordered\fR()
  27. macro shall determine whether its arguments are unordered.
  28. .SH "RETURN VALUE"
  29. Upon successful completion, the
  30. \fIisunordered\fR()
  31. macro shall return 1 if its arguments are unordered, and 0 otherwise.
  32. .P
  33. If
  34. .IR x
  35. or
  36. .IR y
  37. is NaN, 1 shall be returned.
  38. .SH ERRORS
  39. No errors are defined.
  40. .LP
  41. .IR "The following sections are informative."
  42. .SH EXAMPLES
  43. None.
  44. .SH "APPLICATION USAGE"
  45. The relational and equality operators support the usual mathematical
  46. relationships between numeric values. For any ordered pair of numeric
  47. values, exactly one of the relationships (less, greater, and equal) is
  48. true. Relational operators may raise the invalid floating-point
  49. exception when argument values are NaNs. For a NaN and a numeric value,
  50. or for two NaNs, just the unordered relationship is true. This macro
  51. is a quiet (non-floating-point exception raising) version of a
  52. relational operator. It facilitates writing efficient code that
  53. accounts for NaNs without suffering the invalid floating-point
  54. exception. In the SYNOPSIS section,
  55. .BR real-floating
  56. indicates that the argument shall be an expression of
  57. .BR real-floating
  58. type.
  59. .SH RATIONALE
  60. None.
  61. .SH "FUTURE DIRECTIONS"
  62. None.
  63. .SH "SEE ALSO"
  64. .IR "\fIisgreater\fR\^(\|)",
  65. .IR "\fIisgreaterequal\fR\^(\|)",
  66. .IR "\fIisless\fR\^(\|)",
  67. .IR "\fIislessequal\fR\^(\|)",
  68. .IR "\fIislessgreater\fR\^(\|)"
  69. .P
  70. The Base Definitions volume of POSIX.1\(hy2017,
  71. .IR "\fB<math.h>\fP"
  72. .\"
  73. .SH COPYRIGHT
  74. Portions of this text are reprinted and reproduced in electronic form
  75. from IEEE Std 1003.1-2017, Standard for Information Technology
  76. -- Portable Operating System Interface (POSIX), The Open Group Base
  77. Specifications Issue 7, 2018 Edition,
  78. Copyright (C) 2018 by the Institute of
  79. Electrical and Electronics Engineers, Inc and The Open Group.
  80. In the event of any discrepancy between this version and the original IEEE and
  81. The Open Group Standard, the original IEEE and The Open Group Standard
  82. is the referee document. The original Standard can be obtained online at
  83. http://www.opengroup.org/unix/online.html .
  84. .PP
  85. Any typographical or formatting errors that appear
  86. in this page are most likely
  87. to have been introduced during the conversion of the source files to
  88. man page format. To report such errors, see
  89. https://www.kernel.org/doc/man-pages/reporting_bugs.html .