double
dneg |
Stack
..., value.word1, value.word2 ..., result.word1, result.word2
Description
The value must be of type double
. It is popped from the operand stack. The double
result is the arithmetic negation of value, namely -value. The result is pushed onto the operand stack.
For double
values, negation is not the same as subtraction from zero. If x
is +0.0
, then 0.0-x
equals +0.0
, but -x
equals -0.0.
Unary minus merely inverts the sign of a double
.
Contents | Prev | Next | Index
Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com