On Thu, 19 Mar 2015 18:27:41 +0100 Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> wrote: > Searching for the member of an array closest to 'x' is > duplicated in several places. Linear search is pretty nasty. lib/bsearch.c could do this with a bit of tweaking. But that's a separate project. _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors