only finite values are tested
add finite_float function