FLOAT

const val FLOAT: UByte(source)

PCast constant for a float

To cast from a float:

val castByte = (PCast.FLOAT shl 4) or [to]

You can also use the cast constants: PCast.BYTE_TO_FLOAT, PCast.SHORT_TO_FLOAT, PCast.INT_TO_FLOAT, PCast.LONG_TO_FLOAT, PCast.UBYTE_TO_FLOAT, PCast.USHORT_TO_FLOAT, PCast.UINT_TO_FLOAT, PCast.ULONG_TO_FLOAT, PCast.FLOAT_TO_FLOAT, PCast.DOUBLE_TO_FLOAT

To cast from a float:

val castByte = ([from] shl 4) or PCast.FLOAT

You can also use the cast constants: PCast.BYTE_TO_FLOAT, PCast.SHORT_TO_FLOAT, PCast.INT_TO_FLOAT, PCast.LONG_TO_FLOAT, PCast.UBYTE_TO_FLOAT, PCast.USHORT_TO_FLOAT, PCast.UINT_TO_FLOAT, PCast.ULONG_TO_FLOAT, PCast.FLOAT_TO_FLOAT, PCast.DOUBLE_TO_FLOAT

Get more information about the cast byte in the PCast Bytecode Specification

Since

0.1.0