Contents | Prev | Next | Index

f2d

Operation
Convert float to double

f2d

Forms
f2d = 141 (0x8d)

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 double. The result is pushed onto the operand stack.

Notes
The f2d instruction performs a widening primitive conversion (§2.6.2). Because all values of type float are exactly representable by type double, the conversion is exact.


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