implement toXYString
Merge remote-tracking branch 'origin/long-emul' into topic/test-long-emul