1 /* 2 Copyright (c) 2003 by Stefan Kurtz and The Institute for 3 Genomic Research. This is OSI Certified Open Source Software. 4 Please see the file LICENSE for licensing information and 5 the file ACKNOWLEDGEMENTS for names of contributors to the 6 code base. 7 */ 8 9 //\Ignore{ 10 11 #ifndef MEGABYTES_H 12 #define MEGABYTES_H 13 #include "types.h" 14 15 //} 16 17 /* 18 The following macro transforms bytes into megabytes. 19 */ 20 21 #define MEGABYTES(V) ((double) (V)/((UintConst(1) << 20) - 1)) 22 23 //\Ignore{ 24 25 #endif 26 27 //} 28