
org.openpdf.renderer.function.postscript.operation.Mod 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 Mod implements PostScriptOperation {
@Override
/**
* int1 int2 mod remainder
*
* returns the remainder that results from
* dividing int1 by int2. The sign of the result
* is the same as the sign of the dividend int1.
* Both operands must be integers and the result
* is an integer.
*
* errors: stackunderflow, typecheck, undefinedresult
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy