diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-03-27 19:03:38 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-03-29 15:52:58 +0100 |
| commit | 771466b9e7c62086f7554974cc7658cefe38d2e7 (patch) | |
| tree | ff18bea9f98c197252d6c3d7087bc806b01de42f /src/corelib/thread/qthread.cpp | |
| parent | 729a6f56d08e3440f18704c1cf0b5672c0b90419 (diff) | |
qfloat16: remove noexcept from qRound
These functions have narrow contracts since they return integer types.
Passing infinities or NaN is illegal, therefore they can't be noexcept.
The qRound overloads for float/double in fact aren't noexcept.
Change-Id: Id41c166bc296fd11fc10a31ceab640f55868570e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions
