Resored using c99 signbit() as my user defined macro failed after some time