Adds a constant to each element of a vectorised array KPG1_CADDx
There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W,
UW, B or UB as appropriate. The arrays supplied to the routine must have the data type
specified.
This routine will handle numerical errors (i.e. overflow) by assigning the appropriate "
bad"
value to
affected output array elements. If the constant supplied cannot be converted to the data type of the
arrays without overflow, then all elements of the output array will be assigned this bad value and
NERR will return the value of EL.