September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,6 @@
union u {
int i;
long l;
double d;
/* ... */
};

View file

@ -0,0 +1,4 @@
union must_be_at_least_512_bytes {
int interesting_datum;
char padding[512];
};

View file

@ -0,0 +1,11 @@
// version 1.0.6
fun main(args: Array<String>) {
/* ranges for variables of the primitive numeric types */
println("A Byte variable has a range of : ${Byte.MIN_VALUE} to ${Byte.MAX_VALUE}")
println("A Short variable has a range of : ${Short.MIN_VALUE} to ${Short.MAX_VALUE}")
println("An Int variable has a range of : ${Int.MIN_VALUE} to ${Int.MAX_VALUE}")
println("A Long variable has a range of : ${Long.MIN_VALUE} to ${Long.MAX_VALUE}")
println("A Float variable has a range of : ${Float.MIN_VALUE} to ${Float.MAX_VALUE}")
println("A Double variable has a range of : ${Double.MIN_VALUE} to ${Double.MAX_VALUE}")
}

View file

@ -0,0 +1 @@
(make-buf 8 0 4096)