Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!seal.cis.ohio-state.edu!ogden From: ogden@seal.cis.ohio-state.edu (William F Ogden) Newsgroups: comp.software-eng Subject: Re: Reusability considered harmful??(!!) Message-ID: <88689@tut.cis.ohio-state.edu> Date: 20 Feb 91 18:38:28 GMT References: <88431@tut.cis.ohio-state.edu> <6108@stpstn.UUCP> <1127@TALOS.UUCP> <88637@tut.cis.ohio-state.edu> <1991Feb19.214713.403@cbnewsm.att.com> Sender: news@tut.cis.ohio-state.edu Reply-To: William F Ogden Organization: Ohio State University Computer and Information Science Lines: 24 Lee writes: ..... >Error tolerances will normally be expressed in terms of average or >RMS and worst-case errors. They are _not_ going to tell you, "By >the way, the worst-case negative error is at 44 degrees and the >worst-case positive error at 46 degrees." If you are concerned about >values near 45 degrees, this may well be a problem. .... I don't believe that anyone has set out any standards for specifying reusable numerical software, but it seems unlikely that anything as simple as worst-case or RMS tolerances would be deemed adequate. Surely you'd want at least to know an error bound for a sin_approx(x) component as a function of x. Then you wouldn't have the nasty surprise at 45 degrees. Numerical software is clearly a domain where you can't pretend that the names of operations ( e.g. cos, log, etc. ) tell a potential client all he really needs to know about what they do and where they work. Some sort of specification standard for this type of software is needed which takes into account the normal uses of such software -- such as composing basic operations to make more complex ones. If we don't figure out how to spec things adequately and just leave potential clients to test things out to see what they really do, then they'll always find it easier to roll their own and reuse will never happen. /Bill