ddiv
Stack
Before
|
After
|
| value1-word1
|
result-word1
|
| value1-word2
|
result-word2
|
| value2-word1
|
...
|
| value2-word2
|
|
| ...
|
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
See Also
Description
u1
ddiv
opcode = 0x6F (111)
idiv, ldiv, fdiv