glv
November 12, 2021, 10:30am
30
You are correct!
In computing, NaN (/næn/), standing for Not a Number, is a particular value of a numeric data type (often a floating-point number) which is undefined or unrepresentable, such as the result of 0/0. Systematic use of NaNs was introduced by the IEEE 754 floating-point standard in 1985, along with the representation of other non-finite quantities such as infinities.
In mathematics, 0/0 is typically undefined[a] and is therefore represented by NaN in computing systems.
The square root of a negative...
I often use simple examples to explore how the code is working:
What needs to be done to correct this?
Think about the solution before looking at the code.
Take a look at code (Arduino and Processing) and consider how to proceed.
Give it some thought.
:)