Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » inline UPP::int64 abs(UPP::int64 x)
inline UPP::int64 abs(UPP::int64 x) [message #10419] Sun, 08 July 2007 13:23
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

There are intristic function for abs with int64

instead of
inline UPP::int64 abs(UPP::int64 x){ return x < 0 ? -x : x; }

we can use <stdlib.h> __int64 _abs64( __int64 n );

inline UPP::int64 abs(UPP::int64 x) { return _abs64(x); }
Previous Topic: XmlNode Copy Constructor
Next Topic: 64bit pointers
Goto Forum:
  


Current Time: Fri Apr 26 02:30:13 CEST 2024

Total time taken to generate the page: 0.05907 seconds