prev next contents
dsub

subtract two doubles

Jasmin Syntax


    dsub

Stack

Before

After
value1-word1
result-word1
value1-word2
result-word2
value2-word1
...
value2-word2

...

Description

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

Bytecode

Type

Description
u1
dsub opcode = 0x67 (103)
See Also

isub, lsub, fsub


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