This provides a double variant of the float copysignf from libm/math.c which is required for DEBUG=1 builds when MICROPY_FLOAT_IMPL=double
Prior to this patch tanh(large number) would return nan due to inf/inf.