| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: tgmath.3,v 1.2 2010/03/01 21:37:18 wiz Exp $ | | 1 | .\" $NetBSD: tgmath.3,v 1.3 2010/04/14 08:28:58 jruoho Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2004 Stefan Farfeleder | | 3 | .\" Copyright (c) 2004 Stefan Farfeleder |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -16,27 +16,27 @@ | | | @@ -16,27 +16,27 @@ |
16 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 16 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
17 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 17 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
18 | .\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE | | 18 | .\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE |
19 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 19 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
20 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 20 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
21 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 21 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
22 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 22 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
23 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 23 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
24 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 24 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
25 | .\" SUCH DAMAGE. | | 25 | .\" SUCH DAMAGE. |
26 | .\" | | 26 | .\" |
27 | .\" $FreeBSD: src/share/man/man3/tgmath.3,v 1.3 2007/12/15 02:40:10 das Exp $ | | 27 | .\" $FreeBSD: src/share/man/man3/tgmath.3,v 1.3 2007/12/15 02:40:10 das Exp $ |
28 | .\" | | 28 | .\" |
29 | .Dd March 1, 2010 | | 29 | .Dd April 14, 2010 |
30 | .Os | | 30 | .Os |
31 | .Dt TGMATH 3 | | 31 | .Dt TGMATH 3 |
32 | .Sh NAME | | 32 | .Sh NAME |
33 | .Nm tgmath | | 33 | .Nm tgmath |
34 | .Nd "type-generic macros" | | 34 | .Nd "type-generic macros" |
35 | .Sh SYNOPSIS | | 35 | .Sh SYNOPSIS |
36 | .In tgmath.h | | 36 | .In tgmath.h |
37 | .Sh DESCRIPTION | | 37 | .Sh DESCRIPTION |
38 | The header | | 38 | The header |
39 | .In tgmath.h | | 39 | .In tgmath.h |
40 | provides type-generic macros | | 40 | provides type-generic macros |
41 | for | | 41 | for |
42 | .In math.h | | 42 | .In math.h |
| @@ -134,20 +134,21 @@ and | | | @@ -134,20 +134,21 @@ and |
134 | .In math.h . | | 134 | .In math.h . |
135 | .Sh STANDARDS | | 135 | .Sh STANDARDS |
136 | The header | | 136 | The header |
137 | .In tgmath.h | | 137 | .In tgmath.h |
138 | conforms to | | 138 | conforms to |
139 | .St -isoC-99 . | | 139 | .St -isoC-99 . |
140 | .Sh AUTHORS | | 140 | .Sh AUTHORS |
141 | .An Matt Thomas Aq matt@3am-software.com | | 141 | .An Matt Thomas Aq matt@3am-software.com |
142 | .Sh BUGS | | 142 | .Sh BUGS |
143 | The header | | 143 | The header |
144 | .In tgmath.h | | 144 | .In tgmath.h |
145 | cannot be implemented with strictly conforming C code and needs | | 145 | cannot be implemented with strictly conforming C code and needs |
146 | special compiler support. | | 146 | special compiler support. |
147 | The current implementation only works for GCC. | | 147 | The current implementation only works for |
| | | 148 | .Xr gcc 1 . |
148 | .Pp | | 149 | .Pp |
149 | Many of the functions mentioned here are not prototyped in | | 150 | Many of the functions mentioned here are not prototyped in |
150 | .In math.h | | 151 | .In math.h |
151 | or | | 152 | or |
152 | .In complex.h | | 153 | .In complex.h |
153 | as they are not yet implemented. | | 154 | as they are not yet implemented. |