Cómo deshacerse del signo menos del cero firmado
Estoy usando asin para calcular el ángulo. El código es el siguiente:
double FindAngle(const double theValue)
{
return asin(theValue);
}
FindAngle devuelve un -0.0 (cero firmado), cuando el argumento theValue = -0.0. Ahora, ¿cómo me deshago del signo menos del valor de retorno?