aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/data/jsImports/msbsi11.js
blob: fa5db379aaf49a7ef8bad4ec3636ad09477eb641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

// This JavaScript file is a single, small, imported script.
// It doesn't import any other scripts.
// It is imported from another script.

function testFunc(seedValue) {
    var retn = 5;
    retn += (seedValue * 0.1145);
    retn *= (1 + (3.1415962 / seedValue));
    retn /= 2.41497;
    retn -= (seedValue * -1);
    return retn;
}