Function copysign

  • Composes a float from the magnitude of a and the sign of b, i.e. copysign(a, b) = sgn(b)|a|.

    Parameters

    • a: number
    • b: number

    Returns number

Generated using TypeDoc