frysk.value
Class FloatingPointType
java.lang.Object
frysk.value.Type
frysk.value.ArithmeticType
frysk.value.FloatingPointType
public class FloatingPointType
- extends ArithmeticType
Type for a floating-point value.
Methods inherited from class frysk.value.Type |
addressOf, completeFollowSym, completeMember, dereference, getALU, getName, getSize, getSliceType, getType, getUltimateType, index, member, pack, slice, toPrint, toPrintBrief |
FloatingPointType
public FloatingPointType(String name,
ByteOrder order,
int size)
toPrint
public void toPrint(PrintWriter writer,
Location location,
ByteBuffer memory,
Format format,
int indent)
- Description copied from class:
Type
- Print Location as Type in user-readable form; use Format to
print basic types. If needed, and when memory is non-NULL, it
can be used for dereferencing pointers. Indent before printing.
printAsHexConstant
public void printAsHexConstant(PrintWriter writer,
Location loc)
- Prints value as a hexadecimal float constant.
eg. double value 9.0 --> 0x1.2p+0
getALU
public ArithmeticUnit getALU(Type type,
int wordSize)
- Overrides:
getALU
in class Type
getALU
public ArithmeticUnit getALU(IntegerType type,
int wordSize)
- Overrides:
getALU
in class Type
getALU
public ArithmeticUnit getALU(FloatingPointType type,
int wordSize)
- Overrides:
getALU
in class Type
getALU
public ArithmeticUnit getALU(PointerType type,
int wordSize)
- Overrides:
getALU
in class Type
getALU
public ArithmeticUnit getALU(int wordSize)
- Overrides:
getALU
in class Type