Added a signed version of hash_fp

This is important for using `hash_fp` from Cython.