view src/testdir/test65.ok @ 2931:f2c108f44f41 v7.3.238

updated for version 7.3.238 Problem: Compiler warning for conversion. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Thu, 07 Jul 2011 15:04:52 +0200
parents 82b5078be2dd
children cd145cc2f2c9
line wrap: on
line source

Results of test65:
123.456000
1.234560e+02
123.456
+=
7.777
6.234
8.333
==
1
0
add-subtract
5.234
-6.766
mult-div
4.936
0.003241
dict
{'x': 1.234, 'y': -2.0e20}
list
[-123.4, 2.0e-20]
abs
1456
4
-1
14.56
54.32
ceil
2.0
-5.0
-4.0
floor
1.0
-6.0
4.0
log10
3.0
-2.0
pow
27.0
65536.0
round
0.0
5.0
-5.0
sqrt
10.0
str2float
1.0e40
trunc
1.0
-5.0
4.0
float2nr
123
-123