Gcc computed coshf inconsistently, try FLOAT_EQ instead of DOUBLE_EQ