double
to int
d2i |
Stack
..., value.word1, value.word2 ..., result
Description
The value on the top of the operand stack must be of type double
. It is popped from the operand stack and converted to an int
. The result is pushed onto the operand stack:
int
0.
int
, then the result is the int
value V.
int
, or the value must be too large (a positive value of large magnitude or positive infinity), and the result is the largest representable value of type int
.
Notes
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