Commit Graph

12 Commits

Author SHA1 Message Date
Reimar Döffinger be7e81b9cb complex.7: Fix type used in example code
man complex (from release 3.18) contains the following code:
    complex z = cexp(I * pi);
Reading the C99 standard, "complex" is not a valid type, and several
compilers (Intel ICC, ARM RVCT) will refuse to compile.
It should be
    double complex z = cexp(I * pi);
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:06:16 +02:00
Michael Kerrisk 9935c43c52 complex.7: Add missing header file for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 07:03:17 +02:00
Michael Kerrisk faebe20b57 ffix 2007-12-24 11:33:41 +00:00
Michael Kerrisk 20c58d7028 ffix 2007-07-21 05:25:03 +00:00
Michael Kerrisk 9a77f5ef62 Changed "atan(1)" to "atan(1.0)" to prevent some versions of
man2html(1) from mistaking that string as a page cross reference.
2007-05-21 17:02:22 +00:00
Michael Kerrisk e9329f6ddc Where there is an instruction in the SYNOPIS about linking
or compiling with a certain option, the option is now
marked up in itlacs (e.g., "\fI-lm\fP").
2007-05-21 09:56:00 +00:00
Michael Kerrisk 0ed55ece49 Make "manual" in .TH line "Linux Programmers Manual" 2007-05-18 08:43:42 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk 7295b7eda0 Replaced tabs with spaces 2007-04-05 13:29:41 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk a8bda63671 complex.5 --> complex.7 2006-04-21 01:24:06 +00:00
Michael Kerrisk 481aaca1a5 complex.5 --> complex.7 2006-04-21 01:20:56 +00:00