diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-10-24 22:07:46 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-10-28 22:04:46 -0400 |
commit | 4cb05021f1602b1c29295f791d76ba4b38426f2a (patch) | |
tree | 14fd1f8cff8ca1bae0bcf4ea57380ccedc45957b /configure.com | |
parent | a8b2934d541975842b17146eaf9343dd439e5eca (diff) | |
download | perl-4cb05021f1602b1c29295f791d76ba4b38426f2a.tar.gz |
Configure: add defs summarizing doublekind/longdblkind
For windows/netware It seems that many of the recent fp definitions
have not been yet copied over there [1] [2], so went mostly by dead
reckoning [3].
[1] Note that many of them are not absolutely necessary for building.
[2] The proper updating involves doing stuff in win32, which I do not have.
[3] As far as I can tell, Windows CE does not really not have long double.
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/configure.com b/configure.com index a886f6fa3b..cb98892b1f 100644 --- a/configure.com +++ b/configure.com @@ -3328,8 +3328,31 @@ $ d_ldexpl = "define" $ d_modfl = "define" $ d_modflproto = "define" $! +$ d_double_has_inf = "undef" +$ d_double_has_nan = "undef" +$ d_double_has_negative_zero = "undef" +$ d_double_has_subnormals = "undef" +$ d_double_style_cray = "undef" +$ d_double_style_ibm = "undef" +$ d_double_style_ieee = "undef" +$ d_double_style_vax = "undef" +$ d_long_double_style_ieee = "undef" +$ d_long_double_style_ieee_extended = "undef" +$ d_long_double_style_ieee_std = "undef" +$ d_long_double_style_vax = "undef" $ IF useieee .OR. useieee .EQS. "define" $ THEN +$ d_double_has_inf = "define" +$ d_double_has_nan = "define" +$ d_double_has_negative_zero = "define" +$ d_double_has_subnormals = "define" +$ d_double_style_ieee = "define" +$ IF uselongdouble .OR. uselongdouble .EQS. "define" +$ THEN +$ d_long_double_style_ieee = "define" +$! TODO: will the Intel port have ieee_extended for long doubles? +$ d_long_double_style_ieee_std = "define" +$ ENDIF $ d_acosh = "define" $ d_asinh = "define" $ d_atanh = "define" @@ -3368,6 +3391,12 @@ $ d_tgamma = "define" $ d_trunc = "define" $ d_truncl = "define" $ ELSE +$ d_double_style_vax = "define" +$ IF uselongdouble .OR. uselongdouble .EQS. "define" +$ THEN +$ d_long_double_style_vax = "undef" ! VAX format H unlikely +$ ENDIF +$ d_acosh = "undef" $ d_acosh = "undef" $ d_asinh = "undef" $ d_atanh = "undef" @@ -5987,6 +6016,14 @@ $ ENDIF $ WC "d_dlsymun='undef'" $ WC "d_backtrace='undef'" $ WC "d_dosuid='undef'" +$ WC "d_double_has_inf='" + d_double_has_inf + "'" +$ WC "d_double_has_nan='" + d_double_has_nan + "'" +$ WC "d_double_has_negative_zero='" + d_double_has_negative_zero + "'" +$ WC "d_double_has_subnormals='" + d_double_has_subnormals + "'" +$ WC "d_double_style_cray='undef'" +$ WC "d_double_style_ibm='undef'" +$ WC "d_double_style_ieee='" + d_double_style_ieee + "'" +$ WC "d_double_style_vax='" + d_double_style_vax + "'" $ WC "d_drand48proto='" + d_drand48proto + "'" $ WC "d_dup2='define'" $ WC "d_eaccess='undef'" @@ -6138,6 +6175,11 @@ $ WC "d_lockf='undef'" $ WC "d_log1p='" + d_log1p + "'" $ WC "d_log2='" + d_log2 + "'" $ WC "d_logb='" + d_logb + "'" +$ WC "d_long_double_style_ieee='" + d_long_double_style_ieee + "'" +$ WC "d_long_double_style_ieee_doubledouble='undef'" +$ WC "d_long_double_style_ieee_extended='" + d_long_double_style_ieee_extended + "'" +$ WC "d_long_double_style_ieee_std='" + d_long_double_style_ieee_std + "'" +$ WC "d_long_double_style_vax='" + d_long_double_style_vax + "'" $ WC "d_longdbl='" + d_longdbl + "'" $ WC "d_longlong='" + d_longlong + "'" $ WC "d_lrint='" + d_lrint + "'" |