presicion calculation