public static function precision(int $tp, int $fp) : float
    {
        return $tp / (($tp + $fp) ?: EPSILON);
    }
public static function precision(int $tp, int $fp) : float
    {
        return $tp / (($tp + $fp) ?: EPSILON);
    }
public static function precision ( int $ tp , int $ fp ) : float { return $ tp / ( ( $ tp + $ fp ) ? : EPSILON ) ; }
Compute the class precision.

@param int $tp
@param int $fp
@return float
Compute the class precision .