Circuit implementation of piecewise-affine functions based on a binary search tree | IEEE Conference Publication | IEEE Xplore