I am interested in editing the sqrt function from math.h so that it does not allow negative numbers to be passed to it. I am also interested in how these math functions work in C.
Is there somewhere in the compiler files that has the actual function definition and the code that does all of the computation of the square roots?
Is this actually written in C or in another language?