##### Synopsis

    #include <inmsp.h>
    unsigned long __bcd_negate_long(unsigned long x);

##### Description

__bcd_negate_long negates (computes the 9's complement of) x using decimal arithmetic. x must be a binary coded decimal number and the result is a binary coded decimal number.

__bcd_negate_long is an intrinsic function and produces inline code.

##### Portability

__bcd_negate_long can be used on any MSP430 device.