diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2022-07-19 14:00:28 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-07-21 13:19:04 +0200 |
| commit | e97f8cabc8d4f14172354a20ddd96a87d5a3c205 (patch) | |
| tree | 5cc8fd38a97d0a912f3ea80152ea780654b5930e /tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml | |
| parent | eed7b3f4e7fe53d3a8c92a0413e42a14a80e34bc (diff) | |
QmlCompiler: Implement Math.pow()
Also, add missing positive infinity to test data.
Pick-to: 6.4
Fixes: QTBUG-104745
Change-Id: I958aca672cca8cc83c540ed3ea75b08e70eb90fd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml')
| -rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml b/tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml index ee25e437fa..5bf666a6d6 100644 --- a/tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml +++ b/tests/auto/qml/qmlcppcodegen/data/jsMathObject.qml @@ -32,7 +32,7 @@ QtObject { property double log2: Math.log2(a) property double max: Math.max(a, b) property double min: Math.min(a, b) -// property double pow: Math.pow(a, b) + property double pow: Math.pow(a, b) property double random: Math.random() property double round: Math.round(a) property double sign: Math.sign(a) |
