Enable single-precision floats by default.

This commit is contained in:
Vincent St-Amour 2011-01-17 17:30:48 -05:00
parent c997ae139b
commit ac76d963b0
2 changed files with 8 additions and 7 deletions

View File

@ -43,11 +43,10 @@ imaginary part is a real number.
Inexact real numbers are implemented as either single- or Inexact real numbers are implemented as either single- or
double-precision @as-index{IEEE floating-point numbers}---the latter double-precision @as-index{IEEE floating-point numbers}---the latter
by default, and the former only when support for 32-bit inexact by default, and the former only when a computation starts with
numbers is specifically enabled when the run-time system is built, and numerical constants specified as single-precision numbers. Inexact
only when a computation starts with numerical constants specified as real numbers that are represented as double-precision floating-point
single-precision numbers. Inexact real numbers that are represented as numbers are @deftech{flonums}.
double-precision floating-point numbers are @deftech{flonums}.
The precision and size of exact numbers is limited only by available The precision and size of exact numbers is limited only by available
memory (and the precision of operations that can produce irrational memory (and the precision of operations that can produce irrational

6
src/configure vendored
View File

@ -1339,7 +1339,7 @@ Optional Features:
--enable-account 3m: use memory-accounting GC (enabled by default) --enable-account 3m: use memory-accounting GC (enabled by default)
--enable-compact 3m: use compact GC (no accounting) --enable-compact 3m: use compact GC (no accounting)
--enable-backtrace 3m: support GC backtrace dumps --enable-backtrace 3m: support GC backtrace dumps
--enable-float include support for single-precision floats --enable-float single-precision floats support (enabled by default)
--enable-floatinstead compile to use single-precision by default --enable-floatinstead compile to use single-precision by default
--enable-pthread link with pthreads --enable-pthread link with pthreads
--enable-stackup assume "up" if stack direction cannot be determined --enable-stackup assume "up" if stack direction cannot be determined
@ -1913,6 +1913,8 @@ fi
# Check whether --enable-float was given. # Check whether --enable-float was given.
if test "${enable_float+set}" = set; then if test "${enable_float+set}" = set; then
enableval=$enable_float; enableval=$enable_float;
else
enable_float=yes
fi fi
# Check whether --enable-floatinstead was given. # Check whether --enable-floatinstead was given.
@ -2225,7 +2227,7 @@ show_explicitly_enabled "${enable_sgcdebug}" "SGC debug mode"
show_explicitly_enabled "${enable_compact}" "Compact 3m GC" show_explicitly_enabled "${enable_compact}" "Compact 3m GC"
show_explicitly_enabled "${enable_backtrace}" "3m GC backtraces" show_explicitly_enabled "${enable_backtrace}" "3m GC backtraces"
show_explicitly_enabled "${enable_float}" "Single-precision floats" show_explicitly_disabled "${enable_float}" "Single-precision floats"
show_explicitly_enabled "${enable_floatinstead}" "Single-precision default floats" show_explicitly_enabled "${enable_floatinstead}" "Single-precision default floats"
show_explicitly_enabled "${enable_pthread}" "pthreads" show_explicitly_enabled "${enable_pthread}" "pthreads"