src/libs/src/gauss_dist.c
double r8_dist(double r7, double r1)
{
    if (r7>r1)
        return r7-r1;
    return r1-r7;
}
//abs return an int, cant use it since we need double
//in case point 2# is closer, r8 will become negative in case of r7-r1
//so abs value to resolve it mathematically
abs return an int, cant use it since we need double
in case point 2# is closer, r8 will become negative in case of r7-r1
so abs value to resolve it mathematically
abs return an int cant use it since we need double in case point 2# is closer r8 will become negative in case of r7 - r1 so abs value to resolve it mathematically
double r8_dist(double r7, double r1)
{
    if (r7>r1)
        return r7-r1;
    return r1-r7;
}
double r8_dist ( double r7 , double r1 ) { if ( r7 > r1 ) return r7 - r1 ; return r1 - r7 ; }
abs return an int, cant use it since we need double
in case point 2# is closer, r8 will become negative in case of r7-r1
so abs value to resolve it mathematically
abs return an int cant use it since we need double in case point 2# is closer r8 will become negative in case of r7 - r1 so abs value to resolve it mathematically