public class IntUtils extends Object
| Constructor and Description |
|---|
IntUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMaxValue(IntegerType t)
Returns the maximum value an integer type can have.
|
static IntegerType |
getTypeByWidth(int maxValue)
Returns an appropriate integer for a given maximum element.
|
public static IntegerType getTypeByWidth(int maxValue)
maxValue - the max valuepublic static int getMaxValue(IntegerType t)
t - the integer typeCopyright © 2024 Soot OSS. All rights reserved.