From c1be9045c081451ec7bf104f23ed9701674339be Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 30 Jun 2006 09:54:30 +0000 Subject: [PATCH] Add uint64_t related checks --- Example/exInline.cxx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Example/exInline.cxx b/Example/exInline.cxx index 36683030..c0d08ccf 100755 --- a/Example/exInline.cxx +++ b/Example/exInline.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exInline.cxx,v $ Language: C++ - Date: $Date: 2005/10/21 08:43:31 $ - Version: $Revision: 1.1 $ + Date: $Date: 2006/06/30 09:54:30 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -83,6 +83,17 @@ inline void ifrswap(double &a, double &b) int main(int argc, char *argv[]) { +uint32_t a1 = 0xfedcba98; +uint64_t b1 = a1<<8; +std::cout<< "sizeof(uint32_t) " << sizeof(uint32_t) + << " sizeof(uint64_t) " << sizeof(uint64_t) << std::endl; + +std::cout<< std::hex < 1) nbLoop = atoi(argv[1]); -- 2.48.1