Import std.math.scalar
CopySign
function
Public Function CopySign<T: FloatingPoint>(magnitude: T, sign: T): T
The magnitude with the sign of sign, -0 and NaN's included: CopySign(2.0, -0.0) is -2.
Report an issue with this page or with FutureBlitz on GitHub.