This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / d_class.U
1 ?RCS: $Id$
2 ?RCS:
3 ?RCS: Copyright (c) 2000 Jarkko Hietaniemi
4 ?RCS:
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
7 ?RCS:
8 ?MAKE:d_class: Inlibc
9 ?MAKE:  -pick add $@ %<
10 ?S:d_class:
11 ?S:     This variable conditionally defines the HAS_CLASS symbol, which
12 ?S:     indicates to the C program that the class() routine is available.
13 ?S:.
14 ?C:HAS_CLASS:
15 ?C:     This symbol, if defined, indicates that the class routine is
16 ?C:     available to classify doubles.  Available for example in AIX.
17 ?C:     The returned values are defined in <float.h> and are:
18 ?C:
19 ?C:     FP_PLUS_NORM    Positive normalized, nonzero
20 ?C:     FP_MINUS_NORM   Negative normalized, nonzero
21 ?C:     FP_PLUS_DENORM  Positive denormalized, nonzero
22 ?C:     FP_MINUS_DENORM Negative denormalized, nonzero
23 ?C:     FP_PLUS_ZERO    +0.0
24 ?C:     FP_MINUS_ZERO   -0.0
25 ?C:     FP_PLUS_INF     +INF
26 ?C:     FP_MINUS_INF    -INF
27 ?C:     FP_NANS         Signaling Not a Number (NaNS)
28 ?C:     FP_NANQ         Quiet Not a Number (NaNQ)
29 ?C:.
30 ?H:#$d_class HAS_CLASS          /**/
31 ?H:.
32 ?LINT:set d_class
33 : see if class exists
34 set class d_class
35 eval $inlibc
36