~inkscape.dev/inkscape-devlibs64/trunk

« back to all changes in this revision

Viewing changes to python/Lib/test/decimaltestdata/plus.decTest

  • Committer: Eduard Braun
  • Date: 2016-10-22 16:51:19 UTC
  • Revision ID: eduard.braun2@gmx.de-20161022165119-9eosgy6lp8j1kzli
Update Python to version 2.7.12

Included modules:
  coverage 4.2
  lxml 3.6.4
  numpy 1.11.2
  scour 0.35
  six 1.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
------------------------------------------------------------------------
2
 
------------------------------------------------------------------------
3
 
------------------------------------------------------------------------
4
 
version: 2.59
5
 
 
6
 
 
7
 
extended:    1
8
 
precision:   9
9
 
rounding:    half_up
10
 
maxExponent: 384
11
 
minexponent: -383
12
 
 
13
 
plux001 plus '1'      -> '1'
14
 
plux002 plus '-1'     -> '-1'
15
 
plux003 plus '1.00'   -> '1.00'
16
 
plux004 plus '-1.00'  -> '-1.00'
17
 
plux005 plus '0'      -> '0'
18
 
plux006 plus '0.00'   -> '0.00'
19
 
plux007 plus '00.0'   -> '0.0'
20
 
plux008 plus '00.00'  -> '0.00'
21
 
plux009 plus '00'     -> '0'
22
 
 
23
 
plux010 plus '-2'     -> '-2'
24
 
plux011 plus '2'      -> '2'
25
 
plux012 plus '-2.00'  -> '-2.00'
26
 
plux013 plus '2.00'   -> '2.00'
27
 
plux014 plus '-0'     -> '0'
28
 
plux015 plus '-0.00'  -> '0.00'
29
 
plux016 plus '-00.0'  -> '0.0'
30
 
plux017 plus '-00.00' -> '0.00'
31
 
plux018 plus '-00'    -> '0'
32
 
 
33
 
plux020 plus '-2000000' -> '-2000000'
34
 
plux021 plus '2000000'  -> '2000000'
35
 
precision: 7
36
 
plux022 plus '-2000000' -> '-2000000'
37
 
plux023 plus '2000000'  -> '2000000'
38
 
precision: 6
39
 
plux024 plus '-2000000' -> '-2.00000E+6' Rounded
40
 
plux025 plus '2000000'  -> '2.00000E+6' Rounded
41
 
precision: 3
42
 
plux026 plus '-2000000' -> '-2.00E+6' Rounded
43
 
plux027 plus '2000000'  -> '2.00E+6' Rounded
44
 
 
45
 
precision: 9
46
 
plux060 plus '56267E-10'   -> '0.0000056267'
47
 
plux061 plus '56267E-5'    -> '0.56267'
48
 
plux062 plus '56267E-2'    -> '562.67'
49
 
plux063 plus '56267E-1'    -> '5626.7'
50
 
plux065 plus '56267E-0'    -> '56267'
51
 
plux066 plus '56267E+0'    -> '56267'
52
 
plux067 plus '56267E+1'    -> '5.6267E+5'
53
 
plux068 plus '56267E+2'    -> '5.6267E+6'
54
 
plux069 plus '56267E+3'    -> '5.6267E+7'
55
 
plux070 plus '56267E+4'    -> '5.6267E+8'
56
 
plux071 plus '56267E+5'    -> '5.6267E+9'
57
 
plux072 plus '56267E+6'    -> '5.6267E+10'
58
 
plux080 plus '-56267E-10'  -> '-0.0000056267'
59
 
plux081 plus '-56267E-5'   -> '-0.56267'
60
 
plux082 plus '-56267E-2'   -> '-562.67'
61
 
plux083 plus '-56267E-1'   -> '-5626.7'
62
 
plux085 plus '-56267E-0'   -> '-56267'
63
 
plux086 plus '-56267E+0'   -> '-56267'
64
 
plux087 plus '-56267E+1'   -> '-5.6267E+5'
65
 
plux088 plus '-56267E+2'   -> '-5.6267E+6'
66
 
plux089 plus '-56267E+3'   -> '-5.6267E+7'
67
 
plux090 plus '-56267E+4'   -> '-5.6267E+8'
68
 
plux091 plus '-56267E+5'   -> '-5.6267E+9'
69
 
plux092 plus '-56267E+6'   -> '-5.6267E+10'
70
 
 
71
 
plux120 plus '-0E3'   -> '0E+3'
72
 
plux121 plus '-0E2'   -> '0E+2'
73
 
plux122 plus '-0E1'   -> '0E+1'
74
 
plux123 plus '-0E0'   -> '0'
75
 
plux124 plus '+0E0'   -> '0'
76
 
plux125 plus '+0E1'   -> '0E+1'
77
 
plux126 plus '+0E2'   -> '0E+2'
78
 
plux127 plus '+0E3'   -> '0E+3'
79
 
 
80
 
plux130 plus '-5E3'   -> '-5E+3'
81
 
plux131 plus '-5E8'   -> '-5E+8'
82
 
plux132 plus '-5E13'  -> '-5E+13'
83
 
plux133 plus '-5E18'  -> '-5E+18'
84
 
plux134 plus '+5E3'   -> '5E+3'
85
 
plux135 plus '+5E8'   -> '5E+8'
86
 
plux136 plus '+5E13'  -> '5E+13'
87
 
plux137 plus '+5E18'  -> '5E+18'
88
 
 
89
 
plux150 plus 'Inf'    -> 'Infinity'
90
 
plux151 plus '-Inf'   -> '-Infinity'
91
 
plux152 plus   NaN    ->  NaN
92
 
plux153 plus  sNaN    ->  NaN   Invalid_operation
93
 
plux154 plus   NaN77  ->  NaN77
94
 
plux155 plus  sNaN88  ->  NaN88 Invalid_operation
95
 
plux156 plus  -NaN    -> -NaN
96
 
plux157 plus -sNaN    -> -NaN   Invalid_operation
97
 
plux158 plus  -NaN77  -> -NaN77
98
 
plux159 plus -sNaN88  -> -NaN88 Invalid_operation
99
 
 
100
 
maxexponent: 999999999
101
 
minexponent: -999999999
102
 
precision: 3
103
 
plux160 plus 9.999E+999999999  ->  Infinity Inexact Overflow Rounded
104
 
plux161 plus -9.999E+999999999 -> -Infinity Inexact Overflow Rounded
105
 
 
106
 
precision: 3
107
 
maxexponent: 999
108
 
minexponent: -999
109
 
plux210 plus  1.00E-999        ->   1.00E-999
110
 
plux211 plus  0.1E-999         ->   1E-1000   Subnormal
111
 
plux212 plus  0.10E-999        ->   1.0E-1000 Subnormal
112
 
plux213 plus  0.100E-999       ->   1.0E-1000 Subnormal Rounded
113
 
plux214 plus  0.01E-999        ->   1E-1001   Subnormal
114
 
plux215 plus  0.999E-999       ->   1.00E-999 Inexact Rounded Subnormal Underflow
115
 
plux216 plus  0.099E-999       ->   1.0E-1000 Inexact Rounded Subnormal Underflow
116
 
plux217 plus  0.009E-999       ->   1E-1001   Inexact Rounded Subnormal Underflow
117
 
plux218 plus  0.001E-999       ->   0E-1001   Inexact Rounded Subnormal Underflow Clamped
118
 
plux219 plus  0.0009E-999      ->   0E-1001   Inexact Rounded Subnormal Underflow Clamped
119
 
plux220 plus  0.0001E-999      ->   0E-1001   Inexact Rounded Subnormal Underflow Clamped
120
 
 
121
 
plux230 plus -1.00E-999        ->  -1.00E-999
122
 
plux231 plus -0.1E-999         ->  -1E-1000   Subnormal
123
 
plux232 plus -0.10E-999        ->  -1.0E-1000 Subnormal
124
 
plux233 plus -0.100E-999       ->  -1.0E-1000 Subnormal Rounded
125
 
plux234 plus -0.01E-999        ->  -1E-1001   Subnormal
126
 
plux235 plus -0.999E-999       ->  -1.00E-999 Inexact Rounded Subnormal Underflow
127
 
plux236 plus -0.099E-999       ->  -1.0E-1000 Inexact Rounded Subnormal Underflow
128
 
plux237 plus -0.009E-999       ->  -1E-1001   Inexact Rounded Subnormal Underflow
129
 
plux238 plus -0.001E-999       ->  -0E-1001   Inexact Rounded Subnormal Underflow Clamped
130
 
plux239 plus -0.0009E-999      ->  -0E-1001   Inexact Rounded Subnormal Underflow Clamped
131
 
plux240 plus -0.0001E-999      ->  -0E-1001   Inexact Rounded Subnormal Underflow Clamped
132
 
 
133
 
precision:   16
134
 
maxExponent: 384
135
 
minExponent: -383
136
 
plux251 plus 7E-398     -> 7E-398 Subnormal
137
 
plux252 plus 0E-398     -> 0E-398
138
 
plux253 plus 7E-399     -> 1E-398 Subnormal Underflow Inexact Rounded
139
 
plux254 plus 4E-399     -> 0E-398 Clamped Subnormal Underflow Inexact Rounded
140
 
plux255 plus 7E-400     -> 0E-398 Clamped Subnormal Underflow Inexact Rounded
141
 
plux256 plus 7E-401     -> 0E-398 Clamped Subnormal Underflow Inexact Rounded
142
 
plux257 plus 0E-399     -> 0E-398 Clamped
143
 
plux258 plus 0E-400     -> 0E-398 Clamped
144
 
plux259 plus 0E-401     -> 0E-398 Clamped
145
 
 
146
 
maxexponent: 999
147
 
minexponent: -999
148
 
precision: 9
149
 
plux301 plus 12345678000  -> 1.23456780E+10 Rounded
150
 
plux302 plus 1234567800   -> 1.23456780E+9 Rounded
151
 
plux303 plus 1234567890   -> 1.23456789E+9 Rounded
152
 
plux304 plus 1234567891   -> 1.23456789E+9 Inexact Rounded
153
 
plux305 plus 12345678901  -> 1.23456789E+10 Inexact Rounded
154
 
plux306 plus 1234567896   -> 1.23456790E+9 Inexact Rounded
155
 
 
156
 
precision: 15
157
 
plux321 plus 12345678000  -> 12345678000
158
 
plux322 plus 1234567800   -> 1234567800
159
 
plux323 plus 1234567890   -> 1234567890
160
 
plux324 plus 1234567891   -> 1234567891
161
 
plux325 plus 12345678901  -> 12345678901
162
 
plux326 plus 1234567896   -> 1234567896
163
 
precision: 9
164
 
 
165
 
plu900 plus  # -> NaN Invalid_operation
166