Used the "using namespace std" trick to get signbit working on multiple systems.