Floating-point representation is the obvious, but costly answer. .... Figure 3. A simple algorithnr for deternrining good rational approximations to a given nunrber ...
Floating-point representation is the obvious, but costly answer. Software .... All of the above methods involve a certain amount of bookkeeping to deal properly ...
[24] William Fulton, Introduction to Toric Varieties, Annals of Mathematics Studies, ... [41] William Pugh, Counting solutions to Presburger formulas: how and why, ...
2 Frobenius Algebras and the GHZ/W-calculus. Fix a symmetric monoidal category (V,â,I,Ï). Throughout this paper, we shall define morphisms in V using the ...
Oct 31, 2012 - mary tools we need for the proofs. In Section 5, we turn to computational ..... For example, D. Oppen gave an algorithm [32], based on work of D.
Page 8. 8 applications require a continuous 24-hour-per-day service, but even when a delay in access can ..... PDP8 Based TimeSharing System,â IEEE-TC, Vol.
These data were collected a long time ago. In the ensuing years, numerous researchers, government commissions, organizat
mothers for daughters is that which forevermoreshall bethe United States needs to limit theamount ofimmigrants it lets i
Jun 8, 2007 - literature search for the one-sided one-sample K-S test, this paper identifies ... p values for the two-sided one-sample K-S cumulative sampling.
Jun 23, 2008 - 0.08. 8. 0.36. F(α7). 7. 1. 1. 6. 0.02. 9. 0.44. F(β2). 7. 1. 2. 7. 0.08. 10. 0.46. F(α8). 8 ..... Giving the decimal equivalent of a rational number makes the intermediate output easier to interpret. ..... set increment inc = 1/10.
Jun 8, 2007 - Table 1: Statistical software packages and the one-sample K-S test. ..... What is the best way to calculate the bandwidth (the inverse of the ...
Performing the operation “2 ÷ 3” is equivalent to “2/3” and also “2 X 1/3”. Furthermore, “2 ÷ 3” represents the same proportional relation as “4 ÷ 6”. A deep ...
tions of addition, subtraction, multiplication, division ... later effectively be corrected by plus or minus a unit. .... An analysis of the root curves of the numerator or.
Jan 14, 2009 - property that on the elliptic curve E : y2 = x3 + k(t) (defined over the field. Q(t)) ..... k(t) = −3242(2t + 3)2(3t2 + 9t + 10)2(6t2 + 18t + 17)2h(t), and.
Abstract. This communication presents the complete design of a reversible arithmetic logic unit (ALU) that can be part of a programmable reversible computing.
Abstract. This paper presents the complete design of a reversible arithmetic logic unit (ALU) that can be part of a programmable reversible computing device ...
Abstract. This paper presents the complete design of a reversible arithmetic logic unit (ALU) that can be part of a programmable reversible computing device ...
development of interactive minicomputer systems tailored in detail to user .... which generates a variety of dialogues according to the type of stock and change made. A range ..... We have emphasized the lack of software support for minicomputers, ..
There are many business applications which fit far better the terminology and techniques of ...... been used for modeling and simulation, signal processing, pattern ... R. E. Griswold, The Macro Implementation of SNOBOL 4, Freeman, San ...
Oct 10, 2017 - If the user asks for the square root of a negative number, zero divided ...... pare properties of their c
18 Dec 2002 ... investment horizons, the proper compounding rate is in-between these two
values. These ..... Bodie, Z., Kane A., and Marcus, A.J. 2002.
Oct 10, 2017 - representation offers more accuracy and a larger dynamic range than floats with the same number of bits,
n . De ne r(M) = fX : X is representable in Mg: Scott 7] proved that: if M j= P A then r(M) is a Scott set; ..... and fsn : n < !g be a recursive enumeration of S. For any.
any countable Scott set S there is a nonstandard model M of PA such that r(M) = S. .... d = deg(E), it follows from Marker and Macintyre's re nement of Solovay's.
have been used to implement a mathematical function subroutine package for ... Unfortunately, integers are inconvenient for many calculations and require ... A simple algorithm for finding the greatest common divisor of two numbers. .... matrix arithmetic, coordinate transformations, evaluations of polynomials or calculation.
SOF'I'WARE-PRACTICE
AND EXPERIENCE, VOL. 8, 171-176 (1978)
Rational Arithmetic for Minicomputers BERTHOLD K. P. HORN
Artificial Intelligence Laboratory, Massachusetts Institute of Technology, 545 Technology Square, Cambridge, Mass. 02139 U.S.A. SUMMARY A representation for numbers using two computer words is discussed, where the value represented is the ratio of the corresponding integers. This allows for better dynamic range and relative accuracy than single-precision fixed point, yet is less costly than floating point arithmetic. The scheme is easy to implement and particularly well suited for minicomputer applications that call for a great deal of numerical computation. The techniques described have been used to implement a mathematical function subroutine package for a minicomputer as well as a number of applications programs in the machine vision and machine manipulation area. KEY WORDS
Rational arithmetic Minicomputers Number representation
INTRODUCTION Typically, minicomputers come equipped with arithmetic instructions that operate on single words. Frequently double-word addition and subtraction is also provided for. Unfortunately, integers are inconvenient for many calculations and require the programmer (or at least the compiler) to remember scale factors relating the number represented to the integer actually stored. Even with scale factors one frequently runs out of dynamic range or has difficulty because of the need to estimate the approximate magnitude of variables ahead of time. Floating-point representation is the obvious, but costly answer. Software to perform the common floating-point operations requires substantial amounts of memory and is usually very slow, while hardware that carries out the same operations-if availableis expensive. RATIONAL A R I T H M E T I C An oft-overlooked alternative that lies between fixed-point and floating-point arithmetic in complexity, cost and capability is rational arithmetic (see Figure 1). Variables are stored in two words and the number represented is the ratio of the integers in these words. This allows a fair dynamic range and possibly higher precision than single-word integer arithmetic, without the complexity of extracting exponents and mantissas as required for floating-point arithmetic. I t is also easy to provide software that performs the usual arithmetic operations at relatively high speed. Since the number of instructions required is relatively small, one may elect to compile them in line instead of providing them as subroutine calls. Similarly, it should be easy to microprogram a machine to provide these operations directly as part of its instruction repertoire. Notice that we are not discussing exact rational arithmetic which requires the 0038-6644/78/02084171 SO1.OO @ 1978 by John Wiley & Sons, Ltd.