lib: add Float::is_approx to compare floats

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update because changes in kernel

Signed-off-by: Jean Privat <jean@pryen.org>