f2l


Operation Convert float to long

f2l


Forms f2l = 140 (0x8c)

Stack ..., value ..., result.word1, result.word2

Description The value on the top of the operand stack must be of type float. It is popped from the operand stack and converted to a long. The result is pushed onto the operand stack:

The f2l instruction performs a narrowing primitive conversion (§2.6.3). It may lose information about the overall magnitude of value, and may also lose precision.