getRealComparison function
Implementation
int getRealComparison(
double firstReal,
double secondReal
)
{
if ( firstReal < secondReal )
{
return -1;
}
else if ( firstReal > secondReal )
{
return 1;
}
else
{
return 0;
}
}