The exact modulus of the generalized Kurdyka-Łojasiewicz property