On Tue, 4 Dec 2001, Dan Sugalski wrote:
> Okay, here's the decree.
>
> FP constants in the bytecode file constants section will be 64-bit IEEE floats.
You mean something like this?
--- parrot/Configure.pl Sun Dec 2 00:06:30 2001
+++ parrot-andy/Configure.pl Tue Dec 4 13:22:31 2001
@@ -60,12 +60,19 @@
#Some versions don't seem to have ivtype or nvtype--provide
#defaults for them.
+my $nv_default;
+if (defined($Config{nvsize}) && $Config{nvsize} == 8) {
+ $nv_default = $Config{nvtype};
+}
+else {
+ $nv_default = 'double';
+}
#XXX Figure out better defaults
my(%c)=(
iv => ($Config{ivtype} ||'long'),
intvalsize => undef,
- nv => ($Config{nvtype} ||'double'),
+ nv => $nv_default,
numvalsize => undef,
opcode_t => ($Config{ivtype} ||'long'),
@@ -116,7 +123,7 @@
prompt("What flags would you like passed to your C compiler?", 'ccflags');
prompt("Which libraries would you like your C compiler to include?", 'libs');
prompt("How big would you like integers to be?", 'iv');
-prompt("And your floats?", 'nv');
+prompt("And your floats? (only 64-bit IEEE floats are supported)", 'nv');
prompt("What is your native opcode type?", 'opcode_t');
# Copy the appropriate platform-specific file over
--
Andy Dougherty [EMAIL PROTECTED]
Dept. of Physics
Lafayette College, Easton PA 18042