Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
716f1cdd
Commit
716f1cdd
authored
Jul 19, 2010
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove temporary debugging code.
parent
107783e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
60 deletions
+1
-60
configure
configure
+1
-40
configure.in
configure.in
+0
-20
No files found.
configure
View file @
716f1cdd
#! /bin/sh
# From configure.in Revision: 82
746
.
# From configure.in Revision: 82
090
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.2.
#
...
...
@@ -11641,45 +11641,6 @@ $as_echo "#define DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 1" >>confdefs.h
fi
# Temporary check for a floating-point bug that appeared on ARM.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for buggy subnormal floating-point"
>
&5
$as_echo_n
"checking for buggy subnormal floating-point... "
>
&6
;
}
if
test
"
${
ac_cv_buggy_subnormal
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
if
test
"
$cross_compiling
"
=
yes
;
then
:
ac_cv_buggy_subnormal
=
no
else
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int main() {
double MIN = 2.2250738585072014e-308; /* 2**-1022 */
double TINY = 4.9406564584124654e-324; /* 2**-1074 */
double TRIPLE_TINY = 1.4821969375237396e-323; /* 3 * TINY */
double diff = MIN - TRIPLE_TINY;
double expected_diff = 2.2250738585071999e-308;
return !(diff == expected_diff);
}
_ACEOF
if
ac_fn_c_try_run
"
$LINENO
"
;
then
:
ac_cv_buggy_subnormal
=
no
else
ac_cv_buggy_subnormal
=
yes
fi
rm
-f
core
*
.core core.conftest.
*
gmon.out bb.out conftest
$ac_exeext
\
conftest.
$ac_objext
conftest.beam conftest.
$ac_ext
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_buggy_subnormal
"
>
&5
$as_echo
"
$ac_cv_buggy_subnormal
"
>
&6
;
}
# The short float repr introduced in Python 3.1 requires the
# correctly-rounded string <-> double conversion functions from
# Python/dtoa.c, which in turn require that the FPU uses 53-bit
...
...
configure.in
View file @
716f1cdd
...
...
@@ -3334,26 +3334,6 @@ then
in ARM mixed-endian order (byte order 45670123)])
fi
# Temporary check for a floating-point bug that appeared on ARM.
AC_MSG_CHECKING(for buggy subnormal floating-point)
AC_CACHE_VAL(ac_cv_buggy_subnormal, [
AC_RUN_IFELSE([AC_LANG_SOURCE([[
int main() {
double MIN = 2.2250738585072014e-308; /* 2**-1022 */
double TINY = 4.9406564584124654e-324; /* 2**-1074 */
double TRIPLE_TINY = 1.4821969375237396e-323; /* 3 * TINY */
double diff = MIN - TRIPLE_TINY;
double expected_diff = 2.2250738585071999e-308;
return !(diff == expected_diff);
}
]])],
[ac_cv_buggy_subnormal=no],
[ac_cv_buggy_subnormal=yes],
[ac_cv_buggy_subnormal=no])])
AC_MSG_RESULT($ac_cv_buggy_subnormal)
# The short float repr introduced in Python 3.1 requires the
# correctly-rounded string <-> double conversion functions from
# Python/dtoa.c, which in turn require that the FPU uses 53-bit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment