Path: utzoo!mnetor!uunet!husc6!necntc!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: what belongs in (was: volatile isn't necessary,) Message-ID: <3377@haddock.ISC.COM> Date: 8 Apr 88 18:19:19 GMT References: <7794@alice.UUCP> <10068@tut.cis.ohio-state.edu> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 11 In article <10068@tut.cis.ohio-state.edu> lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes: >I was shocked when I read that abs() was taken out of ... abs() is a >math function and is where it belongs! Taken out? Was it ever *in* math.h? I just checked two systems (one BSD, one USGish), and neither declares the abs() function in any header. (Why should they? The default declaration suffices.$) Neither one puts the code in libm.a, either. I don't think it's clear that it "belongs" in . Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint $This is not my argument, but (my interpretation of) the implementors'.