Skip to content

Add2

Adds (or subtracts) two double signals: out = sign_aa + sign_bb. Each input has its own +/- sign so the same block can do a + b, a - b, or -a - b.

Category: Math

Ports

NameDirectionValue typeNotes
in_ainputdouble
in_binputdouble
outoutputdouble

Parameters

NameLabelTypeDefaultUnitsDescription
sign_aSign Aenum (+ / )1
sign_bSign Benum (+ / )1

Used in samples