home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!dptg!ulysses!allegra!princeton!csservices!kastle!blume
- From: blume@kastle.Princeton.EDU (Matthias Blume)
- Subject: Re: the abs() function in C
- Message-ID: <1992Nov21.030312.22363@csservices.Princeton.EDU>
- Sender: news@csservices.Princeton.EDU (USENET News System)
- Reply-To: blume@kastle.Princeton.EDU (Matthias Blume)
- Organization: Dept. of Computer Science, Princeton University
- References: <pebi.722223424@zephyr.aem.umn.edu> <maurer.722246649@magellan.stanford.edu> <1992Nov20.162807.9120@magnus.acs.ohio-state.edu>
- Date: Sat, 21 Nov 1992 03:03:12 GMT
- Lines: 12
-
- In article <1992Nov20.162807.9120@magnus.acs.ohio-state.edu>,
- sbbrown@magnus.acs.ohio-state.edu (Stephen B. Brown) writes:
-
- |> Of course, if he's using ANSI style function prototype declarations,
- |> then the compiler can complain about
- |> abs(-2.0)
- |> so then he's got another problem. It was actually this example which
-
- No, in this case the compiler will insert an automatic conversion.
-
-
- -Matthias
-