Java Virtual Machine (Java Series)

prev next contents
fsub

subtract two floats

Jasmin Syntax

fsub Stack

Before

After
value1 result
value2 ...
...
Description

Pops two single-precision floating point numbers off the operand stack, subtracts the top one from the second (i.e. computes value2 - value1), and pushes the single-precision result back onto the stack. Subtraction is done according to IEEE 754 rules for single precision floating point numbers.

Bytecode

Type

Description
u1 fsub opcode = 0x66 (102)

See Also

isub, lsub, dsub


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

Категории