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