Xref: utzoo comp.theory:401 comp.misc:8358 comp.lang.misc:4293 comp.arch:14323 Path: utzoo!utgpu!watserv1!watdragon!lion!ccplumb From: ccplumb@lion.waterloo.edu (Colin Plumb) Newsgroups: comp.theory,comp.misc,comp.lang.misc,comp.arch Subject: Re: Modulus (Re: hashing function for strings) Message-ID: <21419@watdragon.waterloo.edu> Date: 1 Mar 90 01:15:16 GMT References: <12099@goofy.megatest.UUCP> <98399@linus.UUCP> <98717@linus.UUCP> <16014@haddock.ima.isc.com> Sender: daemon@watdragon.waterloo.edu Reply-To: ccplumb@lion.waterloo.edu (Colin Plumb) Organization: U. of Waterloo, Ontario Lines: 9 In article <16014@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes: >But, given that most implementations use two's complement for integers, and >even for floating-point exponents, why *is* sign-magnitude the standard for >floating point significands? Because the multiply/add ratio is much higher for floating point code, and signed-magnitude is better for multiply at the expense of add. -- -Colin