Path: utzoo!utgpu!attcan!uunet!ginosko!uakari.primate.wisc.edu!uflorida!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.lang.c
Subject: Re: ABS for longs and ints
Message-ID: <11201@smoke.BRL.MIL>
Date: 1 Oct 89 00:17:07 GMT
References:     <1381@cipc1.Dayton.NCR.COM>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 10

In article <1381@cipc1.Dayton.NCR.COM> gmaranca@cipc1.Dayton.NCR.COM (Gabriel Maranca) writes:
>Does anybody know why the abs math function is not type independent? Or has
>this been changed in ANSI "C"?

That's just the way it's always been.

>I use the following macro instead of the library function:

Feel free.  Note that if its argument has side effects, funny
behavior may occur.