prev next contents
fadd

add two floats

Jasmin Syntax


    fadd

Stack

Before

After
value1
result
value2
...
...

Description

Pops two single-precision floating point numbers off the operand stack, adds them, and pushes the result back onto the stack. Floating point addition follows IEEE rules.

Bytecode

Type

Description
u1
fadd opcode = 0x62 (98)
See Also

dadd, iadd, ladd


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates