This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: lrintl, lroundl, llrintl, llroundl
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 2 Feb 2015 22:26:16 +0000 (17:26 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 3 Feb 2015 02:39:25 +0000 (21:39 -0500)
15 files changed:
Configure
Cross/config.sh-arm-linux
NetWare/config.wc
Porting/Glossary
Porting/config.sh
config_h.SH
configure.com
plan9/config_sh.sample
symbian/config.sh
uconfig.h
uconfig.sh
uconfig64.sh
win32/config.ce
win32/config.gc
win32/config.vc

index 6e7d8f1..034104f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -618,7 +618,9 @@ d_lgamma_r=''
 d_libm_lib_version=''
 d_link=''
 d_llrint=''
+d_llrintl=''
 d_llround=''
+d_llroundl=''
 d_localtime_r=''
 d_localtime_r_needs_tzset=''
 localtime_r_proto=''
@@ -634,7 +636,9 @@ longdblsize=''
 d_longlong=''
 longlongsize=''
 d_lrint=''
+d_lrintl=''
 d_lround=''
+d_lroundl=''
 d_lseekproto=''
 d_lstat=''
 d_madvise=''
@@ -16016,10 +16020,18 @@ eval $inlibc
 set llrint d_llrint
 eval $inlibc
 
+: see if llrintl exists
+set llrintl d_llrintl
+eval $inlibc
+
 : see if llround exists
 set llround d_llround
 eval $inlibc
 
+: see if llroundl exists
+set llroundl d_llroundl
+eval $inlibc
+
 : see if localtime_r exists
 set localtime_r d_localtime_r
 eval $inlibc
@@ -16159,10 +16171,18 @@ eval $inlibc
 set lrint d_lrint
 eval $inlibc
 
+: see if lrintl exists
+set lrintl d_lrintl
+eval $inlibc
+
 : see if lround exists
 set lround d_lround
 eval $inlibc
 
+: see if lroundl exists
+set lroundl d_lroundl
+eval $inlibc
+
 : see if prototype for lseek is available
 echo " "
 set d_lseekproto lseek $i_systypes sys/types.h $i_unistd unistd.h
@@ -23981,7 +24001,9 @@ d_libm_lib_version='$d_libm_lib_version'
 d_libname_unique='$d_libname_unique'
 d_link='$d_link'
 d_llrint='$d_llrint'
+d_llrintl='$d_llrintl'
 d_llround='$d_llround'
+d_llroundl='$d_llroundl'
 d_localtime64='$d_localtime64'
 d_localtime_r='$d_localtime_r'
 d_localtime_r_needs_tzset='$d_localtime_r_needs_tzset'
@@ -23993,7 +24015,9 @@ d_logb='$d_logb'
 d_longdbl='$d_longdbl'
 d_longlong='$d_longlong'
 d_lrint='$d_lrint'
+d_lrintl='$d_lrintl'
 d_lround='$d_lround'
+d_lroundl='$d_lroundl'
 d_lseekproto='$d_lseekproto'
 d_lstat='$d_lstat'
 d_madvise='$d_madvise'
index 6432696..3f39d10 100644 (file)
@@ -332,7 +332,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='define'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -344,7 +346,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='define'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='define'
 d_madvise='define'
index 1ef2bc2..68df99e 100644 (file)
@@ -321,7 +321,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -333,7 +335,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='undef'
 d_madvise='undef'
index a3b257b..75f67e3 100644 (file)
@@ -1475,11 +1475,22 @@ d_llrint (d_llrint.U):
        to return the long long value closest to (according to the current
        rounding mode) to x.
 
+d_llrintl (d_llrintl.U):
+       This variable conditionally defines the HAS_LLRINTL symbol, which
+       indicates to the C program that the llrintl() routine is available
+       to return the long long value closest to (according to the current
+       rounding mode) to long double x.
+
 d_llround (d_llround.U):
        This variable conditionally defines the HAS_LLROUND symbol, which
        indicates to the C program that the llround() routine is available
        to return the long long value nearest to x.
 
+d_llroundl (d_llroundl.U):
+       This variable conditionally defines the HAS_LLROUNDL symbol, which
+       indicates to the C program that the llroundl() routine is available
+       to return the long long value nearest to long double x.
+
 d_localtime64 (d_timefuncs64.U):
        This variable conditionally defines the HAS_LOCALTIME64 symbol, which
        indicates to the C program that the localtime64 () routine is available.
@@ -1530,11 +1541,22 @@ d_lrint (d_lrint.U):
        to return the integral value closest to (according to the current
        rounding mode) to x.
 
+d_lrintl (d_lrintl.U):
+       This variable conditionally defines the HAS_LRINTL symbol, which
+       indicates to the C program that the lrintl() routine is available
+       to return the integral value closest to (according to the current
+       rounding mode) to long double x.
+
 d_lround (d_lround.U):
        This variable conditionally defines the HAS_LROUND symbol, which
        indicates to the C program that the lround() routine is available
        to return the integral value nearest to x.
 
+d_lroundl (d_lroundl.U):
+       This variable conditionally defines the HAS_LROUNDL symbol, which
+       indicates to the C program that the lroundl() routine is available
+       to return the integral value nearest to x of the long double argument.
+
 d_lseekproto (d_lseekproto.U):
        This variable conditionally defines the HAS_LSEEK_PROTO symbol,
        which indicates to the C program that the system provides
index 426a267..3b8b2b2 100644 (file)
@@ -342,7 +342,9 @@ d_libm_lib_version='define'
 d_libname_unique='undef'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -354,7 +356,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='define'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='define'
 d_madvise='define'
index 2cf870a..75f3952 100755 (executable)
@@ -3995,12 +3995,26 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_llrint HAS_LLRINT          /**/
 
+/* HAS_LLRINTL:
+ *     This symbol, if defined, indicates that the llrintl routine is
+ *     available to return the closest long long value of the long double
+ *     argument according to the current rounding mode.
+ */
+#$d_llrintl HAS_LLRINTL                /**/
+
 /* HAS_LLROUND:
  *     This symbol, if defined, indicates that the llround routine is
  *     available to return the nearest long long value.
  */
 #$d_llround HAS_LLROUND                /**/
 
+/* HAS_LLROUNDL:
+ *     This symbol, if defined, indicates that the llroundl routine is
+ *     available to return the nearest long long value of the long double
+ *     argument value.
+ */
+#$d_llroundl HAS_LLROUNDL              /**/
+
 /* HAS_LOG1P:
  *     This symbol, if defined, indicates that the log1p routine is
  *     available to do the logarithm of 1 plus argument function.
@@ -4026,12 +4040,26 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_lrint HAS_LRINT            /**/
 
+/* HAS_LRINTL:
+ *     This symbol, if defined, indicates that the lrintl routine is
+ *     available to return the closest integral value to the long double
+ *     argument according to the current rounding mode.
+ */
+#$d_lrintl HAS_LRINTL          /**/
+
 /* HAS_LROUND:
  *     This symbol, if defined, indicates that the lround routine is
  *     available to return the nearest integral value.
  */
 #$d_lround HAS_LROUND          /**/
 
+/* HAS_LROUNDL:
+ *     This symbol, if defined, indicates that the lroundl routine is
+ *     available to return the nearest integral value to the long double
+ *     argument.
+ */
+#$d_lroundl HAS_LROUNDL                /**/
+
 /* HAS_MADVISE:
  *     This symbol, if defined, indicates that the madvise system call is
  *     available to map a file into memory.
index f4dbab3..5636713 100644 (file)
@@ -3400,7 +3400,9 @@ $   d_log1p = "define"
 $   d_log2 = "define"
 $   d_logb = "define"
 $   d_lrint = "define"
+$   d_lrintl = "define"
 $   d_lround = "define"
+$   d_lroundl = "define"
 $   d_nearbyint = "define"
 $   d_nextafter = "define"
 $   d_nexttoward = "define"
@@ -3436,7 +3438,9 @@ $   d_log1p = "undef"
 $   d_log2 = "undef"
 $   d_logb = "undef"
 $   d_lrint = "undef"
+$   d_lrintl = "undef"
 $   d_lround = "undef"
+$   d_lroundl = "undef"
 $   d_nearbyint = "undef"
 $   d_nextafter = "undef"
 $   d_nexttoward = "undef"
@@ -6171,7 +6175,9 @@ $ WC "d_lgamma='" + d_lgamma + "'"
 $ WC "d_libm_lib_version='undef'"
 $ WC "d_link='" + d_link + "'"
 $ WC "d_llrint='undef'"
+$ WC "d_llrintl='undef'"
 $ WC "d_llround='undef'"
+$ WC "d_llroundl='undef'"
 $ WC "d_llseek='undef'"
 $ WC "d_localtime64='undef'"
 $ WC "d_locconv='" + d_locconv + "'"
@@ -6183,7 +6189,9 @@ $ WC "d_logb='" + d_logb + "'"
 $ WC "d_longdbl='" + d_longdbl + "'"
 $ WC "d_longlong='" + d_longlong + "'"
 $ WC "d_lrint='" + d_lrint + "'"
+$ WC "d_lrintl='" + d_lrintl + "'"
 $ WC "d_lround='" + d_lround + "'"
+$ WC "d_lroundl='" + d_lroundl + "'"
 $ WC "d_lseekproto='define'"
 $ WC "d_lstat='" + d_lstat + "'"
 $ WC "d_madvise='undef'"
index 82a4f16..7387c47 100644 (file)
@@ -332,7 +332,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='0'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -344,7 +346,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='define'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='undef'
 d_lstat='define'
 d_madvise='undef'
index 7e7cd71..a114f06 100644 (file)
@@ -278,7 +278,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -290,7 +292,9 @@ d_logb='undef'
 d_longdbl='undef'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='undef'
 d_lstat='undef'
 d_madvise='undef'
index 189b0fd..af629bd 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
  */
 /*#define HAS_LLRINT           / **/
 
+/* HAS_LLRINTL:
+ *     This symbol, if defined, indicates that the llrintl routine is
+ *     available to return the closest long long value of the long double
+ *     argument according to the current rounding mode.
+ */
+/*#define HAS_LLRINTL          / **/
+
 /* HAS_LLROUND:
  *     This symbol, if defined, indicates that the llround routine is
  *     available to return the nearest long long value.
  */
 /*#define HAS_LLROUND          / **/
 
+/* HAS_LLROUNDL:
+ *     This symbol, if defined, indicates that the llroundl routine is
+ *     available to return the nearest long long value of the long double
+ *     argument value.
+ */
+/*#define HAS_LLROUNDL         / **/
+
 /* HAS_LOG1P:
  *     This symbol, if defined, indicates that the log1p routine is
  *     available to do the logarithm of 1 plus argument function.
  */
 /*#define HAS_LRINT            / **/
 
+/* HAS_LRINTL:
+ *     This symbol, if defined, indicates that the lrintl routine is
+ *     available to return the closest integral value to the long double
+ *     argument according to the current rounding mode.
+ */
+/*#define HAS_LRINTL           / **/
+
 /* HAS_LROUND:
  *     This symbol, if defined, indicates that the lround routine is
  *     available to return the nearest integral value.
  */
 /*#define HAS_LROUND           / **/
 
+/* HAS_LROUNDL:
+ *     This symbol, if defined, indicates that the lroundl routine is
+ *     available to return the nearest integral value to the long double
+ *     argument.
+ */
+/*#define HAS_LROUNDL          / **/
+
 /* HAS_MADVISE:
  *     This symbol, if defined, indicates that the madvise system call is
  *     available to map a file into memory.
 #endif
 
 /* Generated from:
- * 45b69f7afc4f5a9118deafae60c017b206cc0acf790bf42c0c80cfe114a06e47 config_h.SH
- * 37fcea608869353fa4ba82c931a6a9668f955825992315f17a1500b8bcba2bf8 uconfig.sh
+ * d654b628ee93a97d86e8830d2d3ba0d822699ba7279c759d3c66e779c56f6675 config_h.SH
+ * f00aaa095a00a83a70716ff4b9df8a1e7feb27fbb4d9b759d4ca27e6412545b1 uconfig.sh
  * ex: set ro: */
index e168f17..5c1632e 100644 (file)
@@ -271,7 +271,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -283,7 +285,9 @@ d_logb='undef'
 d_longdbl='undef'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='undef'
 d_lstat='undef'
 d_madvise='undef'
index 76cbbb0..3d5b0e5 100644 (file)
@@ -272,7 +272,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='undef'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -284,7 +286,9 @@ d_logb='undef'
 d_longdbl='undef'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='undef'
 d_lstat='undef'
 d_madvise='undef'
index 34e4a71..c0c7452 100644 (file)
@@ -319,7 +319,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -331,7 +333,9 @@ d_logb='undef'
 d_longdbl='undef'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='undef'
 d_madvise='undef'
index 55931f1..758e02d 100644 (file)
@@ -319,7 +319,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -331,7 +333,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='define'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='undef'
 d_madvise='undef'
index 13d5dd9..ecfe970 100644 (file)
@@ -319,7 +319,9 @@ d_lgamma_r='undef'
 d_libm_lib_version='undef'
 d_link='define'
 d_llrint='undef'
+d_llrintl='undef'
 d_llround='undef'
+d_llroundl='undef'
 d_localtime64='undef'
 d_localtime_r='undef'
 d_localtime_r_needs_tzset='undef'
@@ -331,7 +333,9 @@ d_logb='undef'
 d_longdbl='define'
 d_longlong='undef'
 d_lrint='undef'
+d_lrintl='undef'
 d_lround='undef'
+d_lroundl='undef'
 d_lseekproto='define'
 d_lstat='undef'
 d_madvise='undef'