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

cimag.3p (2319B)


  1. '\" et
  2. .TH CIMAG "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. cimag,
  12. cimagf,
  13. cimagl
  14. \(em complex imaginary functions
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. #include <complex.h>
  19. .P
  20. double cimag(double complex \fIz\fP);
  21. float cimagf(float complex \fIz\fP);
  22. long double cimagl(long double complex \fIz\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 imaginary part of
  30. .IR z .
  31. .SH "RETURN VALUE"
  32. These functions shall return the imaginary part value (as a real).
  33. .SH ERRORS
  34. No errors are defined.
  35. .LP
  36. .IR "The following sections are informative."
  37. .SH EXAMPLES
  38. None.
  39. .SH "APPLICATION USAGE"
  40. For a variable
  41. .IR z
  42. of complex type:
  43. .sp
  44. .RS 4
  45. .nf
  46. z == creal(z) + cimag(z)*I
  47. .fi
  48. .P
  49. .RE
  50. .SH RATIONALE
  51. None.
  52. .SH "FUTURE DIRECTIONS"
  53. None.
  54. .SH "SEE ALSO"
  55. .IR "\fIcarg\fR\^(\|)",
  56. .IR "\fIconj\fR\^(\|)",
  57. .IR "\fIcproj\fR\^(\|)",
  58. .IR "\fIcreal\fR\^(\|)"
  59. .P
  60. The Base Definitions volume of POSIX.1\(hy2017,
  61. .IR "\fB<complex.h>\fP"
  62. .\"
  63. .SH COPYRIGHT
  64. Portions of this text are reprinted and reproduced in electronic form
  65. from IEEE Std 1003.1-2017, Standard for Information Technology
  66. -- Portable Operating System Interface (POSIX), The Open Group Base
  67. Specifications Issue 7, 2018 Edition,
  68. Copyright (C) 2018 by the Institute of
  69. Electrical and Electronics Engineers, Inc and The Open Group.
  70. In the event of any discrepancy between this version and the original IEEE and
  71. The Open Group Standard, the original IEEE and The Open Group Standard
  72. is the referee document. The original Standard can be obtained online at
  73. http://www.opengroup.org/unix/online.html .
  74. .PP
  75. Any typographical or formatting errors that appear
  76. in this page are most likely
  77. to have been introduced during the conversion of the source files to
  78. man page format. To report such errors, see
  79. https://www.kernel.org/doc/man-pages/reporting_bugs.html .