MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / log10

Method log10

src/org/opensourcephysics/display/TextLine.java:974–979  ·  view source on GitHub ↗

@param x a double value @return The log 10

(double x)

Source from the content-addressed store, hash-verified

972 * @return The log<sub>10</sub>
973 */
974 static public double log10(double x) throws ArithmeticException {
975 if(x<=0.0) {
976 throw new ArithmeticException("range exception"); //$NON-NLS-1$
977 }
978 return Math.log(x)/2.30258509299404568401;
979 }
980
981}
982

Callers 4

parseDoubleMethod · 0.95
setLevelOrigMethod · 0.45
setLevelMethod · 0.45

Calls 1

logMethod · 0.45

Tested by

no test coverage detected