Skip to content

Why, when there is a division by zero, the color changes? #77

Answered by bonomani
bonomani asked this question in Q&A
Discussion options

You must be logged in to vote

This was a breaking change over original version: Division by zero is an error !

As division by zero is an "exception" and should be treated as such.
When a division by zero occurs the value is now set to NaN ans the color is set "blue" -> This mean the test is "disabled" (as we usually not test anything. There are some objections doing so, but it's the current implementation: let me kown if you thing this should change!)

Is it normal? or is it a alarm? or something in between?

In some case it is normal: web can use the "thresholds" file to treat this case as you want:
These are usually 3 possibilities that you can use to change the color:

  1. You can let it as it is.

  2. You can change the c…

Replies: 1 comment

Comment options

bonomani
May 5, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by bonomani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant