Real == float for now. Can make a class and overload it later.
Naming convention:
void ThisIsAFunction(Type this_is_a_var);
--- /dev/null
+../bin/ipdf
\ No newline at end of file
--- /dev/null
+#ifndef _IPDF_H
+#define _IPDF_H
+
+namespace IPDF
+{
+ typedef float Real;
+ inline float RealToFloat(Real r) {return r;}
+}
+
+
+#endif //_IPDF_H
#include "common.h"
+#include "ipdf.h"
+
+using namespace std;
+using namespace IPDF;
+
int main(int argc, char ** argv)
{
- Debug("It's alive!");
+ Real a = 10;
+ Real b = 20;
+ Debug("a*b = %f", RealToFloat(a*b));
return 0;
}