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:
Robert Sipka
2017-03-22 14:18:43 +01:00
committed by GitHub
parent 6ddf00a9fa
commit 78e4dcf6c2
12 changed files with 27 additions and 5 deletions
@@ -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"];
+2
View File
@@ -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;
}
+2
View File
@@ -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;
}
+2
View File
@@ -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();
+2
View File
@@ -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"];
+2
View File
@@ -14,6 +14,8 @@
// URI encoding
// This test will not pass on FLOAT32 due to precision issues
function checkEncodeURIParseError (str)
{
try {
+2
View File
@@ -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");