here is a slightly different take:
2nd Display Support: Dual/Mirroring* 2nd Max. Resolution: 3840x2160 (x2*)
Details:* This model supports a simultaneous maximum resolution up to
3840x2160 on two external displays via Thunderbolt 2.
Alternately, it can support a single display up to 3840x2160 via Thunderbolt 2 and a single 1080p display at up to 60 Hz, 3840x2160 at 30 Hz, or 4096x2160 at 24 Hz via HDMI.
from:
https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i7-2.5-15-iris-only-mid-2015-retina-display-specs.html
If you had the Discrete graphics model instead (with the R9 370X chip) ThunderBolt/DisplayPort family displays increase to 5K at 60Hz, but HDMI displays stay EXACTLY the same, because this is a limitation of the HDMI 1.4 port on that model MacBook Pro.