ch.javasoft.smx.util
Class SmxIntegerUtil
java.lang.Object
ch.javasoft.smx.util.SmxIntegerUtil
public class SmxIntegerUtil
- extends Object
The SmxIntegerUtil TODO type javadoc for SmxIntegerUtil
|
Method Summary |
static void |
add(int dividendA,
int divisorA,
int dividendB,
int divisorB,
WritableIntRationalMatrix dst,
int row,
int col)
|
static int |
checkIntegerRange(long value)
|
static void |
checkLongRangeAfterAddition(long summandA,
long summandB,
long sum)
|
static void |
checkLongRangeAfterMultiplication(long factorA,
long factorB,
long product)
|
static void |
multiply(int dividendA,
int divisorA,
int dividendB,
int divisorB,
WritableIntRationalMatrix dst,
int row,
int col)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkIntegerRange
public static int checkIntegerRange(long value)
throws ArithmeticException
- Throws:
ArithmeticException
checkLongRangeAfterAddition
public static void checkLongRangeAfterAddition(long summandA,
long summandB,
long sum)
throws ArithmeticException
- Throws:
ArithmeticException
checkLongRangeAfterMultiplication
public static void checkLongRangeAfterMultiplication(long factorA,
long factorB,
long product)
throws ArithmeticException
- Throws:
ArithmeticException
multiply
public static void multiply(int dividendA,
int divisorA,
int dividendB,
int divisorB,
WritableIntRationalMatrix dst,
int row,
int col)
add
public static void add(int dividendA,
int divisorA,
int dividendB,
int divisorB,
WritableIntRationalMatrix dst,
int row,
int col)