Contents | Prev | Next | Index

d2l

Operation
Convert double to long

d2l

Forms
d2l = 143 (0x8f)

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

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

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


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com