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_rint.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_rint: Inlibc
5 ?MAKE:  -pick add $@ %<
6 ?S:d_rint:
7 ?S:     This variable conditionally defines the HAS_RINT symbol, which
8 ?S:     indicates to the C program that the rint() routine is available.
9 ?S:.
10 ?C:HAS_RINT:
11 ?C:     This symbol, if defined, indicates that the rint routine is
12 ?C:     available to return the nearest integral value to x as double
13 ?C:     using the current rounding mode.
14 ?C:.
15 ?H:#$d_rint HAS_RINT            /**/
16 ?H:.
17 ?LINT:set d_rint
18 : see if rint exists
19 set rint d_rint
20 eval $inlibc
21