Where can I find the source code for Java’s Square Root function? [closed]

When you install a JDK the source code of the standard library can be found inside src.zip. This won’t help you for StrictMath, though, as StrictMath.sqrt(double) is implemented as follows: public static native double sqrt(double a); So it’s really just a native call and might be implemented differently on different platforms by Java. However, as … Read more