Contiguous Arrays

aglew at mcdurb.Urbana.Gould.COM aglew at mcdurb.Urbana.Gould.COM
Thu Mar 16 05:00:00 AEST 1989


>I have never found the discussion of computer arithmetic as a
>topic in abstract mathematics very attractive.

Topic for another newsgroup, but abstractions of computer arithmetic
can be interesting. For example, binary encoding gives us O(lg N) in the number
of bits addition and parallel multiplication and comparisons; redundant
encodings give us O(1) parallel addition at the cost of more difficult
comparisons; residues give you O(1) parallel addition and multiplication
(well, actually O(lg M), where M is a number related to the number of 
primes within the range you want to work on) but considerably more
complicated comparisons; logarithmic encoding gives you O(1) parallel
multiplication and division, at the cost of subtraction...
    Q: is there any sort of "Conservation of [parallel] complexity"
theorem for finite arithmetic?



More information about the Comp.lang.c mailing list