home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!regent!pal
- From: pal@regent.e-technik.tu-muenchen.dbp.de (Peter Loibl)
- Subject: Re: Macros
- Message-ID: <pal.721649651@regent.e-technik.tu-muenchen.de>
- Sender: news@regent.e-technik.tu-muenchen.de (News System)
- Organization: Technical University of Munich, Germany
- References: <1dfs04INNg3e@usenet.INS.CWRU.Edu> <pal.721305765@regent.e-technik.tu-muenchen.de> <197@zurich.spectrospin.ch> <1992Nov12.024016.24895@u.washington.edu>
- Date: Fri, 13 Nov 1992 10:14:11 GMT
- Lines: 18
-
- chuckb@stein.u.washington.edu (Charles Bass) writes:
-
- >I) avoiding function calls
- >2) simplifying complex expressions (bit operations are common)
- >3) conditional code for debugging/platform changes
- >4) common loop iterators (someone posted examples a while
- >back)
-
- 5) generation of new trigonometric functions by using implemented
- tirgonometric functions
- 6) polynomial functions
- 7) tools, like: SWAP, MIN, MAX ...
-
- BTW. 3) is the most powerful way of using a macro without
- rewriting code.
-
- Peter Loibl
- pal@regent.e-technik.tu-muenchen.de
-