58.

prev next contents
ddiv

divides two doubles

Jasmin Syntax
     ddiv 
Stack

Before

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

...

Description

Pops the top two double-precision floating point numbers off of the stack, divides by the top number (i.e. computes value2 / value1), and pushes the double precision quotient result back onto the stack.

Division by zero will result in an infinity result. The division is computed using IEEE 754 round-to-nearest mode and gradual underflow. Standard IEEE arithmetic rules are used for the special NaN, infinity, and zero values.

Bytecode

Type

Description
u1
ddiv opcode = 0x6F (111)
See Also

idiv, ldiv, fdiv


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


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net