Commit e6575d2
authored
`Int32` is the default number type, and stdlib APIs should usually return that.
Before, the return type of `System.cpu_count` was platform-specific and might have been anything between `Int32`, `Int64` or `UInt32` which makes it difficult to use in portable applications.
1 parent 710d9a5 commit e6575d2
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
0 commit comments