Function

vU512AddS(_:_:_:)

Unsigned 512-bit addition with saturation (clipping).

Declaration

func vU512AddS(_ a: UnsafePointer<vU512>, _ b: UnsafePointer<vU512>, _ result: UnsafeMutablePointer<vU512>)

See Also

Arithmetic Functions on Big Numbers (from vBigNum.h)

func vU64Neg(vUInt32) -> vUInt32

Unsigned 64-bit negation.

func vU128Neg(vUInt32) -> vUInt32

Unsigned 128-bit negation.

func vS64Neg(vSInt32) -> vSInt32

Signed 64-bit negation.

func vS128Neg(vSInt32) -> vSInt32

Signed 128-bit negation.

func vU256HalfMultiply(UnsafePointer<vU256>, UnsafePointer<vU256>, UnsafeMutablePointer<vU256>)

Unsigned 256-bit multiplication; result is the same width as multiplicands.

func vS256HalfMultiply(UnsafePointer<vS256>, UnsafePointer<vS256>, UnsafeMutablePointer<vS256>)

Signed 256-bit multiplication; result is the same width as multiplicands.

func vU512HalfMultiply(UnsafePointer<vU512>, UnsafePointer<vU512>, UnsafeMutablePointer<vU512>)

Unsigned 512-bit multiplication; result is the same width as multiplicands.

func vS512HalfMultiply(UnsafePointer<vS512>, UnsafePointer<vS512>, UnsafeMutablePointer<vS512>)

Signed 512-bit multiplication; result is the same width as multiplicands.

func vU1024HalfMultiply(UnsafePointer<vU1024>, UnsafePointer<vU1024>, UnsafeMutablePointer<vU1024>)

Unsigned 1024-bit multiplication; result is the same width as multiplicands.

func vS1024HalfMultiply(UnsafePointer<vS1024>, UnsafePointer<vS1024>, UnsafeMutablePointer<vS1024>)

Signed 1024-bit multiplication; result is the same width as multiplicands.

func vU128FullMultiply(UnsafePointer<vU128>, UnsafePointer<vU128>, UnsafeMutablePointer<vU256>)

Unsigned 128-bit multiplication; result is twice as wide as multiplicands.

func vS128FullMultiply(UnsafePointer<vS128>, UnsafePointer<vS128>, UnsafeMutablePointer<vS256>)

Signed 128-bit multiplication; result is twice as wide as multiplicands.

func vU256FullMultiply(UnsafePointer<vU256>, UnsafePointer<vU256>, UnsafeMutablePointer<vU512>)

Unsigned 256-bit multiplication; result is twice as wide as multiplicands.

func vS256FullMultiply(UnsafePointer<vS256>, UnsafePointer<vS256>, UnsafeMutablePointer<vS512>)

Signed 256-bit multiplication; result is twice as wide as multiplicands.

func vU512FullMultiply(UnsafePointer<vU512>, UnsafePointer<vU512>, UnsafeMutablePointer<vU1024>)

Unsigned 512-bit multiplication; result is twice as wide as multiplicands.

func vS512FullMultiply(UnsafePointer<vS512>, UnsafePointer<vS512>, UnsafeMutablePointer<vS1024>)

Signed 512-bit multiplication; result is twice as wide as multiplicands.