73.

prev next contents
fdiv

divide two floats

Jasmin Syntax
     fdiv 
Stack

Before

After
value1
result
value2
...
...

Description

Pops two single-precision floats from the stack, divide by the top float, and push the single-precision quotient result back onto the stack (i.e. computes value2 / value1). Division is carried out using IEEE 754 rules.

Bytecode

Type

Description
u1
fdiv opcode = 0x6E (110)
See Also

idiv, ldiv, ddiv

Notes

Divide by zero results in the value NaN to be pushed onto the stack


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