js/src/tests/test262/ch09/9.3/9.3.1/S9.3.1_A10.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 // Copyright 2009 the Sputnik authors.  All rights reserved.
     2 // This code is governed by the BSD license found in the LICENSE file.
     4 /**
     5  * The MV of StrUnsignedDecimalLiteral:::. DecimalDigits is the
     6  * MV of DecimalDigits times 10<sup><small>-n</small></sup>, where n is the
     7  * number of characters in DecimalDigits
     8  *
     9  * @path ch09/9.3/9.3.1/S9.3.1_A10.js
    10  * @description Compare Number('.12345') with +('12345')*1e-5
    11  */
    13 // CHECK#1
    14 if (Number(".12345") !== +("12345")*1e-5) {
    15   $ERROR('#1: Number(".12345") === +("12345")*1e-5');
    16 }

mercurial