0
$\begingroup$

I was reading a USACO Guide Page on data types and I came across two formulas for the absolute and relative difference in the desired answer and the actual answer that is outputted. This is meant to be calculate the absolute and relative errors but what really is the difference between them? I tried to read this question but could not understand it. From a mathematical standpoint what is this exactly and what are its true applications in programming? Where would I need each type?

Here is an image of the text I was reading:

Image of text from USACO

$\endgroup$
2
  • $\begingroup$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. $\endgroup$
    – CrSb0001
    Commented Sep 22, 2023 at 14:09
  • $\begingroup$ @CrSb0001 I made the necessary edits. Hope its clear now. And thank you for pointing that out. $\endgroup$ Commented Sep 22, 2023 at 14:17

0

You must log in to answer this question.

Browse other questions tagged .