Add copysign function
vliegeois opened this issue · comments
Would it make sense to add a copysign generic function for all Real?
Thank you
Vincent
Hi @vliegeois. The copysign function in Swift is named init(signOf:magnitudeOf:)
, and it is a protocol requirement of FloatingPoint
.
Indeed. Thanks for the tip 👍