• Slang Standard Library Reference
    • Interfaces
      • IArithmetic
        • add
        • div
        • init
        • mod
        • mul
        • neg
        • sub
      • IArithmeticAtomicable
      • IArray
      • IAtomicable
      • IBitAtomicable
      • IBufferDataLayout
      • IComparable
      • IDefaultInitializable
      • IDifferentiable
      • IDifferentiableFunc
      • IDifferentiableMutatingFunc
      • IDifferentiablePtrType
      • IFloat
      • IFunc
      • IInteger
      • ILogical
      • IMutatingFunc
      • IRWArray
      • IRangedValue
      • __BuiltinArithmeticType
      • __BuiltinFloatingPointType
      • __BuiltinIntegerType
      • __BuiltinLogicalType
      • __ITextureShape
      • __ITextureShape1D2D3D
    • Types
    • Attributes
    • Global Declarations

IArithmetic.add

Description

Adds two values of the conforming type.

Signature

This IArithmetic.add(This other);

Parameters

other : This

The value to add to this.

Return value

The sum of this and other.