Function Utils::getSign

Function Documentation

int Utils::getSign(double val)

Gets the sign.

Parameters

val – Input data

Returns

Either -1 or 1