Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -1,15 +1,10 @@
import java.math.BigInteger
// version 1.0.5-2
fun main() {
// Using a 64-bit unsigned type, print until 18446744073709551615
(1u..ULong.MAX_VALUE).forEach { println(it) }
fun main(args: Array<String>) {
// print until 2147483647
(0..Int.MAX_VALUE).forEach { println(it) }
// print forever
var n = BigInteger.ZERO
while (true) {
println(n)
n += BigInteger.ONE
}
// Using unlimited-size integers, print forever
var n = BigInteger.ONE
while (true) println(n++)
}