This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: abs(long long int) in cstdlib?


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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]