i need to make my program go a bit faster.

c=sqr (x) <-- the square root that i don't like

p= ( a + b + c ) / 2

IF p * ( p - a ) * ( p - b ) * ( p - c ) > ( R * c / 2 ) ^2 then do something..

I want to compare x directly without finding the square root,

What is the above ?

its Heron's formula to find the height of the triangle.The only thing is that i only need to compare the height with the circle's radius R to find out if the circle obscures a vector.