N
not_a_commie
Does Math.Sqrt(double) use the Intel assembly command to run the
square root or does it have its own implementation? I ask because my
hand-coded, two-bits-per-iteration square root function is only 10%
slower than Math.Sqrt. I have the same question about
Math.Atan2(double). I ask this because I have a known target
architecture and I'm attempting to squeeze a bit more speed out of my
geometric search algorithm that relies heavily on Math.Sqrt(double)
and Math.Atan2(double).
square root or does it have its own implementation? I ask because my
hand-coded, two-bits-per-iteration square root function is only 10%
slower than Math.Sqrt. I have the same question about
Math.Atan2(double). I ask this because I have a known target
architecture and I'm attempting to squeeze a bit more speed out of my
geometric search algorithm that relies heavily on Math.Sqrt(double)
and Math.Atan2(double).