I am trying to do the following calculation
location[3] = isqrt((dist_3^2)-((location[1])^2)-(location[2])^2);
and I get
Error C1826: Integer-expression expected
Error C5002: Illegal type
Error C1829: +- Incompatible types
among others.
"location" is a double, and "dist_3" is an int.
I put a line, #include "math.h" at the top of my code...