Hi all, is there a specific reason for the change of qRound() in Qt 6? qRound(-0.5) now returns -1 and not 0.
I'm not so interested in correctness, but I have code assuming the range -0.5 - 255.5 maps to 0-256 which now needs to be updated. I probably should approximate the more mathematically correct -0.499... - 255.5 Thanks! Björn
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest