Part Number: MSP432P401R
In MSP430® IQmathLib Users Guide version 01.10.00.05, for _QNatan2, A is the Y coordinate input value in Q format, and B is the X coordinate input value in Q format.
But for _QNatan2PU, A is the X coordinate input value in Q format, and B is the Y coordinate input value in Q format.
Why the inconsistency?
Also, I noticed that _QNlog(_Q(0.0)) = 0. That seems odd to me; since _QNlog(_Q(1.0)) = 0, I would expect _QNlog(_Q(0.0)) to saturate to the maximum negative value.
Agreed?