/****************************************************************************** * Copyright (C) 2012 Fabio Zadrozny * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Fabio Zadrozny <fabiofz@gmail.com> - initial API and implementation ******************************************************************************/ package org.python.pydev.core; public class MathUtils { /** * Log with base is missing in java! */ public static double log(double a, double base) { return Math.log(a) / Math.log(base); } }