
org.openpdf.renderer.function.postscript.operation.Div Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openpdf-renderer Show documentation
Show all versions of openpdf-renderer Show documentation
PDF renderer implementation supporting the subset of PDF 1.4 specification.
The newest version!
package org.openpdf.renderer.function.postscript.operation;
import java.util.Stack;
final class Div implements PostScriptOperation {
@Override
/**
* num1 num2 div quotient
*
* divides num1 by num2, producing a result that is
* always a real number even if both operands are integers.
* Use idiv instead if the operands are integers and an
* integer result is desired.
*
* errors: stackunderflow, typecheck, undefinedresult
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy