All Boeing products
afaik turn in the direction closest to the HDG target in AP HDG mode
Thats a behaviour i have only seen in very old 737 classics. Even in newer classics and all NGs i have flown the AP/FD followed the direction one turned the bug, happily for a 360 degree turn. However, if one selects the bug first while in another lateral mode and then presses the HDG button the AP turns the shortest way.
That might however be a pin programmable thing.