All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dakusui.logias.lisp.func.util.calc.Le Maven / Gradle / Ivy

package com.github.dakusui.logias.lisp.func.util.calc;

import com.github.dakusui.logias.lisp.s.Literal;
import com.github.dakusui.logias.lisp.s.Sexp;


public class Le extends ComparisonOp {
	
	protected Sexp doComparison(Literal p1, Literal p2) {
		Sexp ret = p1.doubleValue() <= p2.doubleValue() ? Sexp.T : Sexp.nil;
		return ret;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy