2017-08-21 17:59:04 +02:00
|
|
|
// Copyright (C) 2017 the V8 project authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
esid: prod-NumericLiteralSeparator
|
|
|
|
description: >
|
|
|
|
DecimalDigits `.` DecimalDigits NumericLiteralSeparator DecimalDigits
|
|
|
|
ExponentPart SignedInteger
|
|
|
|
info: |
|
|
|
|
NumericLiteralSeparator ::
|
|
|
|
_
|
|
|
|
|
|
|
|
DecimalLiteral ::
|
|
|
|
. DecimalDigits ExponentPart_opt
|
|
|
|
|
|
|
|
DecimalDigits ::
|
|
|
|
...
|
|
|
|
DecimalDigits NumericLiteralSeparator DecimalDigit
|
|
|
|
|
|
|
|
ExponentIndicator :: one of
|
|
|
|
e E
|
|
|
|
|
2017-09-28 16:52:08 +02:00
|
|
|
features: [numeric-separator-literal]
|
2017-08-21 17:59:04 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
assert.sameValue(10.00_01e2, 10.0001e2);
|