]> git.madduck.net Git - etc/vim.git/blobdiff - tests/data/numeric_literals.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Bump pygments from 2.6.1 to 2.7.4 in /docs (#2076)
[etc/vim.git] / tests / data / numeric_literals.py
index 2dc64c75c8b7c07ccb9d5aadb215023af6f2c7b8..06b7f7758ee5fe46d7642da7987376d6698660ab 100644 (file)
@@ -6,33 +6,39 @@ x = .1
 x = 1.
 x = 1E+1
 x = 1E-1
 x = 1.
 x = 1E+1
 x = 1E-1
+x = 1.000_000_01
 x = 123456789.123456789
 x = 123456789.123456789E123456789
 x = 123456789E123456789
 x = 123456789J
 x = 123456789.123456789J
 x = 123456789.123456789
 x = 123456789.123456789E123456789
 x = 123456789E123456789
 x = 123456789J
 x = 123456789.123456789J
-x = 0XB1ACC
+x = 0Xb1aCc
 x = 0B1011
 x = 0O777
 x = 0.000000006
 x = 0B1011
 x = 0O777
 x = 0.000000006
+x = 10000
+x = 133333
 
 # output
 
 
 #!/usr/bin/env python3.6
 
 
 # output
 
 
 #!/usr/bin/env python3.6
 
-x = 123_456_789
+x = 123456789
 x = 123456
 x = 0.1
 x = 1.0
 x = 1e1
 x = 1e-1
 x = 123456
 x = 0.1
 x = 1.0
 x = 1e1
 x = 1e-1
-x = 123_456_789.123_456_789
-x = 123_456_789.123_456_789e123_456_789
-x = 123_456_789e123_456_789
-x = 123_456_789j
-x = 123_456_789.123_456_789j
+x = 1.000_000_01
+x = 123456789.123456789
+x = 123456789.123456789e123456789
+x = 123456789e123456789
+x = 123456789j
+x = 123456789.123456789j
 x = 0xb1acc
 x = 0b1011
 x = 0o777
 x = 0xb1acc
 x = 0b1011
 x = 0o777
-x = 0.000_000_006
+x = 0.000000006
+x = 10000
+x = 133333