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_trunc.U
1 ?RCS: You may distribute under the terms of either the GNU General Public
2 ?RCS: License or the Artistic License, as specified in the README file.
3 ?RCS:
4 ?MAKE:d_trunc: Inlibc
5 ?MAKE:  -pick add $@ %<
6 ?S:d_trunc:
7 ?S:     This variable conditionally defines the HAS_TRUNC symbol, which
8 ?S:     indicates to the C program that the trunc() routine is available
9 ?S:     to round doubles towards zero.
10 ?S:.
11 ?C:HAS_TRUNC:
12 ?C:     This symbol, if defined, indicates that the trunc routine is
13 ?C:     available to round doubles towards zero.
14 ?C:.
15 ?H:#$d_trunc HAS_TRUNC          /**/
16 ?H:.
17 ?LINT:set d_trunc
18 : see if trunc exists
19 set trunc d_trunc
20 eval $inlibc
21