b6e68438c4
Bug: v8:7369 Change-Id: I35b69295a4f9ffab0d5d0501f2f0252dee1a48a3 Reviewed-on: https://chromium-review.googlesource.com/887428 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#50911}
9 lines
345 B
JavaScript
9 lines
345 B
JavaScript
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
assertEquals(-Infinity, 1/parseInt(-0.9));
|
|
assertEquals(-Infinity, 1/parseInt("-0.9"));
|
|
assertEquals(-Infinity, 1/parseInt(-0.09));
|
|
assertEquals(-Infinity, 1/parseInt(-0.009));
|