Hi, My questions is: How many machine cycles does it take a function of absolute value? The operation is for a number floating point.
The execution speed of the fabs library routine is very fast because it only needs to clear a single bit in the floating-point value. Refer to the specification for floating-point numbers in the C51 manual. Jon