Is There a Standard Sign Function in C and C++? Understanding signum for Integers and Floats | CodeTrail