diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2022-08-30 15:20:10 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-08-31 09:33:02 +0200 |
| commit | 9d89d0a0902f2e08434939f0b9d13ef376de3de8 (patch) | |
| tree | 986760a4e8a95de17ffdfd6fc391c99df321e2cc /src/qml/jsruntime/qv4stringobject.cpp | |
| parent | b21290a731876d6c26546b48ab339d36cb873745 (diff) | |
V4: Fix IntryinsicTypeArrayPrototype::method_copyWithin
We cannot cast infinities of type double to integers because the
behavior of that operation varies between platforms. Rather, keep all
operations in double until we clamp the values to the dimensions of the
array.
Task-number: QTBUG-100242
Change-Id: Id95e8382cb6a4370586c2b331906273f65b5c82e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions
