Hrm, it's still not working. I added halfExport.h and had to resolve some issues like "max isn't defined", and include <algorithm>. I'm not sure if that would mess things up.
My output when I build/run halftest is
basic arithmetic operations:
f1 = 1, f2 = 2, h1 = 13.6875, h2 = 18.1719
h1 = f1 + f2: 13.6875
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "C:\Users\Sean\Downloads\ilmbase-2.0.1\ilmbase-2.0.1\vc\vc8\IlmBase\HalfTest\..\x64\Release\HalfTest.exe
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code -1073741819.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
obviously since in the code it's doing half h1(3), something is not right. I checked toFloat.h and eLut.h with premade ones on someone's github, and they match so that isn't the problem. I don't know if it makes a difference that I am doing this on a Surface Pro, and have converted it to vs2013.
If anyone has any other ideas I'd appreciate it.
S