public class FloatConstant extends RealConstant
| Modifier and Type | Field and Description |
|---|---|
static FloatConstant |
ONE |
float |
value |
static FloatConstant |
ZERO |
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toStringpublic static final FloatConstant ZERO
public static final FloatConstant ONE
public final float value
public static FloatConstant v(float value)
public int hashCode()
public NumericConstant add(NumericConstant c)
add in class NumericConstantpublic NumericConstant subtract(NumericConstant c)
subtract in class NumericConstantpublic NumericConstant multiply(NumericConstant c)
multiply in class NumericConstantpublic NumericConstant divide(NumericConstant c)
divide in class NumericConstantpublic NumericConstant remainder(NumericConstant c)
remainder in class NumericConstantpublic NumericConstant equalEqual(NumericConstant c)
equalEqual in class NumericConstantpublic NumericConstant notEqual(NumericConstant c)
notEqual in class NumericConstantpublic boolean isLessThan(NumericConstant c)
isLessThan in class NumericConstantpublic NumericConstant lessThan(NumericConstant c)
lessThan in class NumericConstantpublic NumericConstant lessThanOrEqual(NumericConstant c)
lessThanOrEqual in class NumericConstantpublic NumericConstant greaterThan(NumericConstant c)
greaterThan in class NumericConstantpublic NumericConstant greaterThanOrEqual(NumericConstant c)
greaterThanOrEqual in class NumericConstantpublic IntConstant cmpg(RealConstant constant)
RealConstantNaN comparisons 1 is returned.cmpg in class RealConstantconstant - the value to compare with0 if values are equal, 1 if passed value less, or -1 if passed value greater. When any
of the values is NaN method returns 1.public IntConstant cmpl(RealConstant constant)
RealConstantNaN comparisons -1 is returned.cmpl in class RealConstantconstant - the value to compare with0 if values are equal, 1 if passed value less, or -1 if passed value greater. When any
of the values is NaN method returns -1.public NumericConstant negate()
negate in class NumericConstantpublic Type getType()
Valuepublic void apply(Switch sw)
SwitchableCopyright © 2021 Soot OSS. All rights reserved.