Build fix for 32-bit float ecma-number storage (#1669)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
var obj = {};
|
||||
var array = ["foo", 19, "bar", obj, "foo", 29, "baz"];
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
var len;
|
||||
var d = [];
|
||||
assert (d.length === 0);
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
var func = function(a, b) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
var func = function(a, b) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
var array = [54, undefined, "Lemon", -127];
|
||||
|
||||
var array1 = array.slice();
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
function setDefaultValues()
|
||||
{
|
||||
return [54, undefined, -127, "sunshine"];
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
// URI encoding
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
function checkEncodeURIParseError (str)
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
// Checking primitve types
|
||||
var str;
|
||||
var result;
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// This test will not pass on FLOAT32 due to precision issues
|
||||
|
||||
assert((NaN).toString() === "NaN");
|
||||
assert((-Infinity).toString() === "-Infinity");
|
||||
assert((Infinity).toString() === "Infinity");
|
||||
|
||||
Reference in New Issue
Block a user