#pragma once

#include <stdint.h>
#include <climits>

//#define TYPE_DOUBLE

#ifdef TYPE_DOUBLE
	using real = double;
	#define AT_IS_TYPE_DOUBLE	(true)
#else
	using real = float;
	#define AT_IS_TYPE_DOUBLE	(false)
#endif


#pragma once

#include <stdint.h>
#include <climits>

//#define TYPE_DOUBLE

#ifdef TYPE_DOUBLE
	using real = double;
#else
	using real = float;
#endif


--- 
+++ 
@@ -7,7 +7,9 @@
 
 #ifdef TYPE_DOUBLE
 	using real = double;
+	#define AT_IS_TYPE_DOUBLE	(true)
 #else
 	using real = float;
+	#define AT_IS_TYPE_DOUBLE	(false)
 #endif
 
Add macro to know if "real" is double.
