uk.ac.leeds.ccg.andyt.projects.moses.utilities
Class StaticMath

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.utilities.StaticMath

public abstract class StaticMath
extends java.lang.Object

A class of static methods that deal with numbers and maths.


Constructor Summary
StaticMath()
           
 
Method Summary
static double getValueALittleBitLarger(double value)
           
static double getValueALittleBitSmaller(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticMath

public StaticMath()
Method Detail

getValueALittleBitLarger

public static double getValueALittleBitLarger(double value)
Returns:
the next number in double format that is larger than value

getValueALittleBitSmaller

public static double getValueALittleBitSmaller(double value)
Returns:
the next number in double format that is smaller than value