v8/test/mjsunit/runtime-gen/numbertoprecision.js

7 lines
252 B
JavaScript
Raw Normal View History

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _value = 1.5;
var _f_number = 1.5;
%NumberToPrecision(_value, _f_number);