use the correct DEBUG macro across compilers
use float, not double, constants