Java Virtual Machine (Java Series)
f2d
f2d Stack
Before | After |
| float | double-word1 |
| ... | double-word2 |
| ... |
Pops a single precision float off of the stack, casts it to a double, and pushes the double-precision floating point number back onto the stack. This conversion is done in accordance with IEEE 754 specifications. Note that nothing is lost in this conversion. If the original value is NaN, the result will be NaN. Similarly, if the original value is an infinity, the result will be the same infinity.
Bytecode
Type | Description |
| u1 | f2d opcode = 0x8D (141) |
f2i, f2l
prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates
Категории