Exponential Distribution Checker
A Program that Runs Experiments on Generating Random Numbers with an Exponential Distribution
 All Files Functions Variables Macros Pages
defines.h
Go to the documentation of this file.
1 
2 
3 
4 // Copyright Ian Parberry, April 2014.
5 //
6 // This file is made available under the GNU All-Permissive License.
7 //
8 // Copying and distribution of this file, with or without modification,
9 // are permitted in any medium without royalty provided the copyright
10 // notice and this notice are preserved. This file is offered as-is,
11 // without any warranty.
12 //
13 // Created by Ian Parberry, April 2014.
14 // Last updated May 31, 2014.
15 
16 #pragma once
17 
18 #define min(x,y) ((x)<(y)?(x):(y))
19 #define max(x,y) ((x)>(y)?(x):(y))
20 
21 #if defined(_MSC_VER) //Windows Visual Studio
22  #include <conio.h> //for _getch()
23  #pragma warning(disable : 4996) //disable annoying security warnings for stdio functions
24 #endif