aboutsummaryrefslogtreecommitdiff
path: root/src/interp/newfort.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-01-19 09:06:24 +0000
committerdos-reis <gdr@axiomatics.org>2011-01-19 09:06:24 +0000
commitc8e50c69725188f4a48d1e215d00d917dfc7c3d1 (patch)
tree002236f8f6832b41c12a6733f4099c00c59a40cc /src/interp/newfort.boot
parentdd38e4a9c05df5de7c133cbb8d60fd10c7b56f5c (diff)
downloadopen-axiom-c8e50c69725188f4a48d1e215d00d917dfc7c3d1.tar.gz
* interp/vmlisp.lisp (FIXP): Remove.
* interp/alql.boot: Use integer? instead of FIXP. * interp/br-con.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/c-util.boot: Likewise. * interp/fnewmeta.lisp: Likewise. * interp/ht-root.boot: Likewise. * interp/i-analy.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-toplev.boot: Likewise. * interp/interop.boot: Likewise. * interp/lisplib.boot: Likewise. * interp/mark.boot: Likewise. * interp/newfort.boot: Likewise. * interp/nrunfast.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/setvars.boot: Likewise. * interp/showimp.boot: Likewise. * interp/slam.boot: Likewise. * interp/topics.boot: Likewise. * interp/trace.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise. * interp/word.boot: Likewise.
Diffstat (limited to 'src/interp/newfort.boot')
-rw-r--r--src/interp/newfort.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/newfort.boot b/src/interp/newfort.boot
index eb4864fe..0f98b0c6 100644
--- a/src/interp/newfort.boot
+++ b/src/interp/newfort.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2010, Gabriel Dos Reis.
+-- Copyright (C) 2007-2011, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -803,7 +803,7 @@ fortPre1 e ==
[rand,exponent] := args
rand = "%e" => fortPre1 ["exp", exponent]
(IDENTP rand or string? rand) and exponent=2 => ["*", rand, rand]
- (FIXP exponent and abs(exponent) < 32768) => ["**",fortPre1 rand,exponent]
+ (integer? exponent and abs(exponent) < 32768) => ["**",fortPre1 rand,exponent]
["**", fortPre1 rand,fortPre1 exponent]
op = "ROOT" =>
#args = 1 => fortPreRoot ["sqrt", first args]