Hello Laurent, thanks for your answer and research.
My problem has been solved since I wrote the second post. Of course float_max was referring to the maximum numerical value a float can hold (not infinity).
As I said in my second post, the problem was that all values in the range were the same, and were therefore squeezed down to zero.
Have a nice day