This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: abs(long long int) in cstdlib?
- To: Marco Manfai Yu <yumf at ultimatech dot com>
- Subject: Re: abs(long long int) in cstdlib?
- From: Todd Vierling <tv at pobox dot com>
- Date: Fri, 18 Sep 1998 17:02:14 -0400 (EDT)
- cc: egcs-bugs at cygnus dot com
On Fri, 18 Sep 1998, Marco Manfai Yu wrote:
: I found out that the abs() function for long long is missing in
: cstdlib for egcs-1.0.3a and egcs-1.1a. My particular machine is a
: i686-pc-linux-gnu but this should be machine independent. On Linux
: there is llabs() in stdlib.h for C. Is there a reason this being not
: left out?
<cstdlib> defines a standard set of functions based on a standard set of
types. long long isn't a C++ standard type.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)