DOUBLE

const val DOUBLE: UByte(source)

PCast constant for a double

To cast from a double:

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

You can also use the cast constants: PCast.BYTE_TO_DOUBLE, PCast.SHORT_TO_DOUBLE, PCast.INT_TO_DOUBLE, PCast.LONG_TO_DOUBLE, PCast.UBYTE_TO_DOUBLE, PCast.USHORT_TO_DOUBLE, PCast.UINT_TO_DOUBLE, PCast.ULONG_TO_DOUBLE, PCast.FLOAT_TO_DOUBLE, PCast.DOUBLE_TO_DOUBLE

To cast from a double:

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

You can also use the cast constants: PCast.BYTE_TO_DOUBLE, PCast.SHORT_TO_DOUBLE, PCast.INT_TO_DOUBLE, PCast.LONG_TO_DOUBLE, PCast.UBYTE_TO_DOUBLE, PCast.USHORT_TO_DOUBLE, PCast.UINT_TO_DOUBLE, PCast.ULONG_TO_DOUBLE, PCast.FLOAT_TO_DOUBLE, PCast.DOUBLE_TO_DOUBLE

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

Since

0.1.0