summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-30 09:17:11 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-31 17:53:07 -0400
commit2f6b96eb42d99b04896d80305f8877cb2440cf44 (patch)
tree828ddf85b837cde1ddc957588b9b830a29816247 /config_h.SH
parent935e3c48aca0518881b33f771790170d02704a26 (diff)
downloadperl-2f6b96eb42d99b04896d80305f8877cb2440cf44.tar.gz
POSIX math: Configure scan d_fegetround and i_fenv.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH12
1 files changed, 12 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index fd070ae15a..d55726e5ce 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -162,6 +162,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_fcntl HAS_FCNTL /**/
+/* HAS_FEGETROUND:
+ * This symbol, if defined, indicates that the fegetround routine is
+ * available to get the floating point rounding mode.
+ */
+#$d_fegetround HAS_FEGETROUND /**/
+
/* HAS_FGETPOS:
* This symbol, if defined, indicates that the fgetpos routine is
* available to get the file position indicator, similar to ftell().
@@ -708,6 +714,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_fcntl I_FCNTL /**/
+/* I_FENV:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <fenv.h> to get the floating point environment definitions.
+ */
+#$i_fenv I_FENV /**/
+
/* I_FLOAT:
* This symbol, if defined, indicates to the C program that it should
* include <float.h> to get definition of symbols like DBL_MAX or