OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /*zero:[exact=JSUInt31]*/ | 5 /*element: zero:[exact=JSUInt31]*/ |
6 zero() => 0; | 6 zero() => 0; |
7 | 7 |
8 /*one:[exact=JSUInt31]*/ | 8 /*element: one:[exact=JSUInt31]*/ |
9 one() => 1; | 9 one() => 1; |
10 | 10 |
11 /*half:[exact=JSDouble]*/ | 11 /*element: half:[exact=JSDouble]*/ |
12 half() => 0.5; | 12 half() => 0.5; |
13 | 13 |
14 /*large:[subclass=JSUInt32]*/ | 14 /*element: large:[subclass=JSUInt32]*/ |
15 large() => 2147483648; | 15 large() => 2147483648; |
16 | 16 |
17 /*huge:[subclass=JSPositiveInt]*/ | 17 /*element: huge:[subclass=JSPositiveInt]*/ |
18 huge() => 4294967296; | 18 huge() => 4294967296; |
19 | 19 |
20 /*main:[null]*/ | 20 /*element: main:[null]*/ |
21 main() { | 21 main() { |
22 zero(); | 22 zero(); |
23 one(); | 23 one(); |
24 half(); | 24 half(); |
25 large(); | 25 large(); |
26 huge(); | 26 huge(); |
27 } | 27 } |
OLD | NEW |