
org.openpdf.renderer.function.postscript.operation.Abs 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 Abs implements PostScriptOperation {
@Override
/**
* num1 abs num2
*
* The type of the result is the same as the type of num1,
* unless num1 is the smallest (most negative) integer,
* in which case the result is a real number.
*
* errors: stackunderflow, typecheck
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy