/* LPAD and CP-Logic reasoning suite Copyright (c) 2007, Fabrizio Riguzzi Test file for cpld.pl Use :-t. to execute the test */ :-use_module(library(cpl)). epsilon(0.000001). close_to(V,T):- epsilon(E), TLow is T-E, THigh is T+E, TLow