diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-24 22:56:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-24 22:56:32 +0000 |
commit | a3540c9216933280e8172ff9fdbf23c34fe36604 (patch) | |
tree | 2ceb3ec3c2163498c845e55f1e8050e379991a4a /Porting | |
parent | b6592ff05e68c575099e94faea60fc84984b6b46 (diff) | |
download | perl-a3540c9216933280e8172ff9fdbf23c34fe36604.tar.gz |
Add HAS_FREXPL, HAS_ISNAN, HAS_ISNANL, and HAS_MODFL.
Now pp_ncmp() returns undef is either operand is a NaN.
p4raw-id: //depot/cfgperl@5943
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/Glossary | 16 | ||||
-rw-r--r-- | Porting/config.sh | 8 | ||||
-rw-r--r-- | Porting/config_H | 28 |
3 files changed, 49 insertions, 3 deletions
diff --git a/Porting/Glossary b/Porting/Glossary index cc66d7041b..d60a168ca3 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -573,6 +573,10 @@ d_fpathconf (d_pathconf.U): d_fpos64_t (d_fpos64_t.U): This symbol will be defined if the C compiler supports fpos64_t. +d_frexpl (d_frexpl.U): + This variable conditionally defines the HAS_FREXPL symbol, which + indicates to the C program that the frexpl() routine is available. + d_fs_data_s (d_fs_data_s.U): This variable conditionally defines the HAS_STRUCT_FS_DATA symbol, which indicates that the struct fs_data is supported. @@ -811,6 +815,14 @@ d_isascii (d_isascii.U): This variable conditionally defines the HAS_ISASCII constant, which indicates to the C program that isascii() is available. +d_isnan (d_isnan.U): + This variable conditionally defines the HAS_ISNAN symbol, which + indicates to the C program that the isnan() routine is available. + +d_isnanl (d_isnanl.U): + This variable conditionally defines the HAS_ISNANL symbol, which + indicates to the C program that the isnanl() routine is available. + d_killpg (d_killpg.U): This variable conditionally defines the HAS_KILLPG symbol, which indicates to the C program that the killpg() routine is available @@ -933,6 +945,10 @@ d_mmap (d_mmap.U): This variable conditionally defines HAS_MMAP if mmap() is available to map a file into memory. +d_modfl (d_modfl.U): + This variable conditionally defines the HAS_MODFL symbol, which + indicates to the C program that the modfl() routine is available. + d_mprotect (d_mprotect.U): This variable conditionally defines HAS_MPROTECT if mprotect() is available to modify the access protection of a memory mapped file. diff --git a/Porting/config.sh b/Porting/config.sh index 35bb95444b..a658cc21e5 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Mon Apr 24 22:38:56 EET DST 2000 +# Configuration time: Tue Apr 25 00:14:34 EET DST 2000 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -59,7 +59,7 @@ ccflags='-pthread -std -DLANGUAGE_C' ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_BSD=1 SYSTYPE_BSD=1 unix=1' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Mon Apr 24 22:38:56 EET DST 2000' +cf_time='Tue Apr 25 00:14:34 EET DST 2000' charsize='1' chgrp='' chmod='' @@ -151,6 +151,7 @@ d_flock='define' d_fork='define' d_fpathconf='define' d_fpos64_t='undef' +d_frexpl='define' d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' @@ -200,6 +201,8 @@ d_index='undef' d_inetaton='define' d_int64_t='undef' d_isascii='define' +d_isnan='define' +d_isnanl='define' d_killpg='define' d_lchown='define' d_ldbl_dig='define' @@ -226,6 +229,7 @@ d_mkstemp='define' d_mkstemps='undef' d_mktime='define' d_mmap='define' +d_modfl='define' d_mprotect='define' d_msg='define' d_msg_ctrunc='define' diff --git a/Porting/config_H b/Porting/config_H index 263e7f4746..130a613529 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Mon Apr 24 22:38:56 EET DST 2000 + * Configuration time: Tue Apr 25 00:14:34 EET DST 2000 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -1351,6 +1351,13 @@ */ /*#define HAS_FPOS64_T / **/ +/* HAS_FREXPL: + * This symbol, if defined, indicates that the frexpl routine is + * available to break a long double floating-point number into + * a normalized fraction and an integral power of 2. + */ +#define HAS_FREXPL /**/ + /* HAS_STRUCT_FS_DATA: * This symbol, if defined, indicates that the struct fs_data * to do statfs() is supported. @@ -1630,6 +1637,18 @@ */ #define HAS_ISASCII /**/ +/* HAS_ISNAN: + * This symbol, if defined, indicates that the isnan routine is + * available to check whether a double is a NaN. + */ +#define HAS_ISNAN /**/ + +/* HAS_ISNANL: + * This symbol, if defined, indicates that the isnanl routine is + * available to check whether a long double is a NaN. + */ +#define HAS_ISNANL /**/ + /* HAS_LCHOWN: * This symbol, if defined, indicates that the lchown routine is * available to operate on a symbolic link (instead of following the @@ -3089,4 +3108,11 @@ #define PERL_XS_APIVERSION "5.6.0" #define PERL_PM_APIVERSION "5.005" +/* HAS_MODFL: + * This symbol, if defined, indicates that the modfl routine is + * available to split a long double x into a fractional part f and + * an integer part i such that |f| < 1.0 and (f + i) = x. + */ +#define HAS_MODFL /**/ + #endif |