Type-independent absolute value

Wm E Davidsen Jr davidsen at crdos1.crd.ge.COM
Fri Oct 6 01:02:12 AEST 1989


In article <3497 at solo10.cs.vu.nl>, maart at cs.vu.nl (Maarten Litmaath) writes:

|  Why?  I can understand `-x' isn't a good idea, but `-(x)' seems OK to me.

  I may be overly paranoid about semibroken compilers. In macros I try
to use enough parens to cover anything I might ever use, on any compiler
however poor. I had nothing special in mind, just CYA.
-- 
bill davidsen	(davidsen at crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon



More information about the Comp.lang.c mailing list