dc -V dc (GNU bc 1.07.1) 1.4.1
3 _ 2 ^ p 0
My dc does have a few differences from the GNU dc. I added the extension of using _ as a negative sign.
That is why you are both seeing behavior differences.