I wanted to experiment with what would be required to split up secp256k1_i128_to_i64
between those cases when a signed 64 bit value is being demoted, versus an unsigned 64 bit value is being extracted from the lower bits, and this is the result.
I’m not sure this is a useful PR, so feel free to close it. However, since it is already written, I figured it is worth at least discussing.