fbpx
Wikipedia

Symmetric level-index arithmetic

The level-index (LI) representation of numbers, and its algorithms for arithmetic operations, were introduced by Charles Clenshaw and Frank Olver in 1984.[1]

The symmetric form of the LI system and its arithmetic operations were presented by Clenshaw and Peter Turner in 1987.[2]

Michael Anuta, Daniel Lozier, Nicolas Schabanel and Turner developed the algorithm for symmetric level-index (SLI) arithmetic, and a parallel implementation of it. There has been extensive work on developing the SLI arithmetic algorithms and extending them to complex and vector arithmetic operations.

Definition edit

The idea of the level-index system is to represent a non-negative real number X as

 

where   and the process of exponentiation is performed times, with  . and f are the level and index of X respectively. x = + f is the LI image of X. For example,

 

so its LI image is

 

The symmetric form is used to allow negative exponents, if the magnitude of X is less than 1. One takes sgn(log(X)) or sgn(|X| − |X|−1) and stores it (after substituting +1 for 0 for the reciprocal sign since for X = 1 = e0 the LI image is x = 1.0 and uniquely defines X=1 and we can do away without a third state and use only one bit for the two states −1 and +1[clarification needed]) as the reciprocal sign rX. Mathematically, this is equivalent to taking the reciprocal (multiplicative inverse) of a small magnitude number, and then finding the SLI image for the reciprocal. Using one bit for the reciprocal sign enables the representation of extremely small numbers.

A sign bit may also be used to allow negative numbers. One takes sgn(X) and stores it (after substituting +1 for 0 for the sign since for X = 0 the LI image is x = 0.0 and uniquely defines X = 0 and we can do away without a third state and use only one bit for the two states −1 and +1[clarification needed]) as the sign sX. Mathematically, this is equivalent to taking the inverse (additive inverse) of a negative number, and then finding the SLI image for the inverse. Using one bit for the sign enables the representation of negative numbers.

The mapping function is called the generalized logarithm function. It is defined as

 

and it maps   onto itself monotonically and so it is invertible on this interval. The inverse, the generalized exponential function, is defined by

 

The density of values X represented by x has no discontinuities as we go from level to  + 1 (a very desirable property) since:

 

The generalized logarithm function is closely related to the iterated logarithm used in computer science analysis of algorithms.

Formally, we can define the SLI representation for an arbitrary real X (not 0 or 1) as

 

where sX is the sign (additive inversion or not) of X and rX is the reciprocal sign (multiplicative inversion or not) as in the following equations:

 

whereas for X = 0 or 1, we have:

 
 

For example,

 

and its SLI representation is

 

See also edit

References edit

  1. ^ Clenshaw, Charles William; Olver, Frank William John (1984). "Beyond floating point". Journal of the ACM. 31 (2): 319–328. doi:10.1145/62.322429.
  2. ^ Clenshaw, Charles William; Turner, Peter R. (1988-10-01) [1986-09-16, 1987-06-04]. "The Symmetric Level-Index System". IMA Journal of Numerical Analysis. 8 (4). Oxford University Press, Institute of Mathematics and Its Applications: 517–526. doi:10.1093/imanum/8.4.517. ISSN 0272-4979. OCLC 42026743. Retrieved 2018-07-10.

Further reading edit

  • Clenshaw, Charles William; Olver, Frank William John; Turner, Peter R. (1989). "Level-index arithmetic: An introductory survey". Numerical Analysis and Parallel Processing (Conference proceedings / The Lancaster Numerical Analysis Summer School 1987). Lecture Notes in Mathematics (LNM). 1397: 95–168. doi:10.1007/BFb0085718.
  • Clenshaw, Charles William; Turner, Peter R. (1989-06-23) [1988-10-04]. "Root Squaring Using Level-Index Arithmetic". Computing. 43 (2). Springer-Verlag: 171–185. ISSN 0010-485X.
  • Zehendner, Eberhard (Summer 2008). "Rechnerarithmetik: Logarithmische Zahlensysteme" (PDF) (Lecture script) (in German). Friedrich-Schiller-Universität Jena. pp. 21–22. (PDF) from the original on 2018-07-09. Retrieved 2018-07-09.
  • Hayes, Brian (September–October 2009). "The Higher Arithmetic". American Scientist. 97 (5): 364–368. doi:10.1511/2009.80.364. from the original on 2018-07-09. Retrieved 2018-07-09. [2]. Also reprinted in: Hayes, Brian (2017). "Chapter 8: Higher Arithmetic". Foolproof, and Other Mathematical Meditations (1 ed.). The MIT Press. pp. 113–126. ISBN 978-0-26203686-3. ISBN 0-26203686-X.

External links edit

  • sli-c-library (hosted by Google Code), "C++ Implementation of Symmetric Level-Index Arithmetic".

symmetric, level, index, arithmetic, level, index, representation, numbers, algorithms, arithmetic, operations, were, introduced, charles, clenshaw, frank, olver, 1984, symmetric, form, system, arithmetic, operations, were, presented, clenshaw, peter, turner, . The level index LI representation of numbers and its algorithms for arithmetic operations were introduced by Charles Clenshaw and Frank Olver in 1984 1 The symmetric form of the LI system and its arithmetic operations were presented by Clenshaw and Peter Turner in 1987 2 Michael Anuta Daniel Lozier Nicolas Schabanel and Turner developed the algorithm for symmetric level index SLI arithmetic and a parallel implementation of it There has been extensive work on developing the SLI arithmetic algorithms and extending them to complex and vector arithmetic operations Contents 1 Definition 2 See also 3 References 4 Further reading 5 External linksDefinition editThe idea of the level index system is to represent a non negative real number X as X e e e e f displaystyle X e e e cdots e f nbsp where 0 f lt 1 displaystyle 0 leq f lt 1 nbsp and the process of exponentiation is performed ℓ times with ℓ 0 displaystyle ell geq 0 nbsp ℓ and f are the level and index of X respectively x ℓ f is the LI image of X For example X 1234567 e e e 0 9711308 displaystyle X 1234567 e e e 0 9711308 nbsp so its LI image is x ℓ f 3 0 9711308 3 9711308 displaystyle x ell f 3 0 9711308 3 9711308 nbsp The symmetric form is used to allow negative exponents if the magnitude of X is less than 1 One takes sgn log X or sgn X X 1 and stores it after substituting 1 for 0 for the reciprocal sign since for X 1 e0 the LI image is x 1 0 and uniquely defines X 1 and we can do away without a third state and use only one bit for the two states 1 and 1 clarification needed as the reciprocal sign rX Mathematically this is equivalent to taking the reciprocal multiplicative inverse of a small magnitude number and then finding the SLI image for the reciprocal Using one bit for the reciprocal sign enables the representation of extremely small numbers A sign bit may also be used to allow negative numbers One takes sgn X and stores it after substituting 1 for 0 for the sign since for X 0 the LI image is x 0 0 and uniquely defines X 0 and we can do away without a third state and use only one bit for the two states 1 and 1 clarification needed as the sign sX Mathematically this is equivalent to taking the inverse additive inverse of a negative number and then finding the SLI image for the inverse Using one bit for the sign enables the representation of negative numbers The mapping function is called the generalized logarithm function It is defined as ps X X if 0 X lt 1 1 ps ln X if X 1 displaystyle psi X begin cases X amp text if 0 leq X lt 1 1 psi ln X amp text if X geq 1 end cases nbsp and it maps 0 displaystyle 0 infty nbsp onto itself monotonically and so it is invertible on this interval The inverse the generalized exponential function is defined by f x x if 0 x lt 1 e f x 1 if x 1 displaystyle varphi x begin cases x amp text if 0 leq x lt 1 e varphi x 1 amp text if x geq 1 end cases nbsp The density of values X represented by x has no discontinuities as we go from level ℓ to ℓ 1 a very desirable property since d f x d x x 1 d f e x d x x 0 displaystyle left frac d varphi x dx right x 1 left frac d varphi e x dx right x 0 nbsp The generalized logarithm function is closely related to the iterated logarithm used in computer science analysis of algorithms Formally we can define the SLI representation for an arbitrary real X not 0 or 1 as X s X f x r X displaystyle X s X varphi x r X nbsp where sX is the sign additive inversion or not of X and rX is the reciprocal sign multiplicative inversion or not as in the following equations s X sgn X r X sgn X X 1 x ps max X X 1 ps X r X displaystyle s X operatorname sgn X r X operatorname sgn X X 1 x psi max X X 1 psi X r X nbsp whereas for X 0 or 1 we have s 0 1 r 0 1 x 0 0 displaystyle s 0 1 r 0 1 x 0 0 nbsp s 1 1 r 1 1 x 1 0 displaystyle s 1 1 r 1 1 x 1 0 nbsp For example X 1 1234567 e e e 0 9711308 displaystyle X dfrac 1 1234567 e e e 0 9711308 nbsp and its SLI representation is x f 3 9711308 1 displaystyle x varphi 3 9711308 1 nbsp See also editTetration Floating point FP Tapered floating point TFP Logarithmic number system LNS Level logarithmic quantity References edit Clenshaw Charles William Olver Frank William John 1984 Beyond floating point Journal of the ACM 31 2 319 328 doi 10 1145 62 322429 Clenshaw Charles William Turner Peter R 1988 10 01 1986 09 16 1987 06 04 The Symmetric Level Index System IMA Journal of Numerical Analysis 8 4 Oxford University Press Institute of Mathematics and Its Applications 517 526 doi 10 1093 imanum 8 4 517 ISSN 0272 4979 OCLC 42026743 Retrieved 2018 07 10 Further reading editClenshaw Charles William Olver Frank William John Turner Peter R 1989 Level index arithmetic An introductory survey Numerical Analysis and Parallel Processing Conference proceedings The Lancaster Numerical Analysis Summer School 1987 Lecture Notes in Mathematics LNM 1397 95 168 doi 10 1007 BFb0085718 Clenshaw Charles William Turner Peter R 1989 06 23 1988 10 04 Root Squaring Using Level Index Arithmetic Computing 43 2 Springer Verlag 171 185 ISSN 0010 485X Zehendner Eberhard Summer 2008 Rechnerarithmetik Logarithmische Zahlensysteme PDF Lecture script in German Friedrich Schiller Universitat Jena pp 21 22 Archived PDF from the original on 2018 07 09 Retrieved 2018 07 09 1 Hayes Brian September October 2009 The Higher Arithmetic American Scientist 97 5 364 368 doi 10 1511 2009 80 364 Archived from the original on 2018 07 09 Retrieved 2018 07 09 2 Also reprinted in Hayes Brian 2017 Chapter 8 Higher Arithmetic Foolproof and Other Mathematical Meditations 1 ed The MIT Press pp 113 126 ISBN 978 0 26203686 3 ISBN 0 26203686 X External links editsli c library hosted by Google Code C Implementation of Symmetric Level Index Arithmetic Retrieved from https en wikipedia org w index php title Symmetric level index arithmetic amp oldid 1214900577, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.