📄 instructions2.doc49.html
字号:
<html><head><title>VM Spec </title></head><body BGCOLOR=#eeeeff text=#000000 LINK=#0000ff VLINK=#000077 ALINK=#ff0000> <a href="VMSpecTOC.doc.html">Contents</a> | <a href="Instructions2.doc48.html">Prev</a> | <a href="Instructions2.doc50.html">Next</a> | <a href="Mnemonics.doc.html">Index</a><hr><br> <a name="f2d"></a><h2>f2d</h2><a name="f2d.Operation"></a><b>Operation</b><br><a name="67882"></a>Convert <code>float</code> to <code>double</code><p><Table Border="3"><tr><td><a name="67881"></a> <i>f2d</i><td><a name="87568"></a> </Table><Table><tr><td></Table><p><a name="f2d.Forms"></a><b>Forms</b><br><a name="67883"></a><i>f2d</i> = 141 (0x8d)<p><a name="f2d.Stack"></a><b>Stack</b><br><a name="67884"></a>..., <i>value</i> <img src="chars/arrwdbrt.gif"> ..., <i>result.word1</i>, <i>result.word2</i><p><a name="f2d.Description"></a><b>Description</b><br><a name="67885"></a>The <i>value</i> on the top of the operand stack must be of type <code>float</code>. It is popped from the operand stack and converted to a <code>double</code>. The <i>result</i> is pushed onto the operand stack.<p><a name="f2d.Notes"></a><b>Notes</b><br><a name="67886"></a>The <i>f2d</i> instruction performs a widening primitive conversion <a href="Concepts.doc.html#23435">(§2.6.2)</a>. Because all values of type <code>float</code> are exactly representable by type <code>double</code>, the conversion is exact.<p><hr><!-- This inserts footnotes--><p><a href="VMSpecTOC.doc.html">Contents</a> | <a href="Instructions2.doc48.html">Prev</a> | <a href="Instructions2.doc50.html">Next</a> | <a href="Mnemonics.doc.html">Index</a><p><font size=-1>Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)<br><i><a href="Copyright.doc.html">Copyright © 1996 Sun Microsystems, Inc.</a>All rights reserved</i><br>Please send any comments or corrections to <a href="mailto:doug.kramer@sun.com">doug.kramer@sun.com</a></font></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -