Skip to main content
added 83 characters in body
Source Link
BradleyDotNET
  • 61.3k
  • 17
  • 139
  • 151

In the best case, these are XY problems where they don't address the actual question.

With the notable exception of "No"No, you can't do this, here's how to get where you want though" (with these, there is ideally an explanation of why you can't do this, here's how to get where you want though";it); these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

To your edit/sample; the answer is the same. If someone is asking about floating point rounding, pointing only to a Comp. Sci. paper probably isn't very useful. The answer should answer the question, with using the paper as a reference if applicable.

Something like (note that this answer may not be completely correct, you get the idea though):

Floating point numbers will round that far out, so you need to use a function like Math.Round when comparing them.

See David Goldberg's excellent article (insert reference/link here) for more information about this and other "gotchas" of floating-point numbers.

In the best case, these are XY problems where they don't address the actual question.

With the exception of "No, you can't do this, here's how to get where you want though"; these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

To your edit/sample; the answer is the same. If someone is asking about floating point rounding, pointing only to a Comp. Sci. paper probably isn't very useful. The answer should answer the question, with using the paper as a reference if applicable.

Something like (note that this answer may not be completely correct, you get the idea though):

Floating point numbers will round that far out, so you need to use a function like Math.Round when comparing them.

See David Goldberg's excellent article (insert reference/link here) for more information about this and other "gotchas" of floating-point numbers.

In the best case, these are XY problems where they don't address the actual question.

With the notable exception of "No, you can't do this, here's how to get where you want though" (with these, there is ideally an explanation of why you can't do it); these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

To your edit/sample; the answer is the same. If someone is asking about floating point rounding, pointing only to a Comp. Sci. paper probably isn't very useful. The answer should answer the question, with using the paper as a reference if applicable.

Something like (note that this answer may not be completely correct, you get the idea though):

Floating point numbers will round that far out, so you need to use a function like Math.Round when comparing them.

See David Goldberg's excellent article (insert reference/link here) for more information about this and other "gotchas" of floating-point numbers.

added 639 characters in body
Source Link
BradleyDotNET
  • 61.3k
  • 17
  • 139
  • 151

In the best case, these are XY problems where they don't address the actual question.

With the exception of "No, you can't do this, here's how to get where you want though"; these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

To your edit/sample; the answer is the same. If someone is asking about floating point rounding, pointing only to a Comp. Sci. paper probably isn't very useful. The answer should answer the question, with using the paper as a reference if applicable.

Something like (note that this answer may not be completely correct, you get the idea though):

Floating point numbers will round that far out, so you need to use a function like Math.Round when comparing them.

See David Goldberg's excellent article (insert reference/link here) for more information about this and other "gotchas" of floating-point numbers.

In the best case, these are XY problems where they don't address the actual question.

With the exception of "No, you can't do this, here's how to get where you want though"; these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

In the best case, these are XY problems where they don't address the actual question.

With the exception of "No, you can't do this, here's how to get where you want though"; these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.

To your edit/sample; the answer is the same. If someone is asking about floating point rounding, pointing only to a Comp. Sci. paper probably isn't very useful. The answer should answer the question, with using the paper as a reference if applicable.

Something like (note that this answer may not be completely correct, you get the idea though):

Floating point numbers will round that far out, so you need to use a function like Math.Round when comparing them.

See David Goldberg's excellent article (insert reference/link here) for more information about this and other "gotchas" of floating-point numbers.

Source Link
BradleyDotNET
  • 61.3k
  • 17
  • 139
  • 151

In the best case, these are XY problems where they don't address the actual question.

With the exception of "No, you can't do this, here's how to get where you want though"; these answers are not useful, since they don't address the actual question. Downvote, as the answers are not useful.

I would always leave a comment in these scenarios asking the OP to address the parameters of the actual question.