diff options
| author | gingerBill <bill@gingerbill.org> | 2019-05-28 20:53:56 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-05-28 20:53:56 +0100 |
| commit | c40acd008e92f8385ac1535adcbb4d7a46ce0a0e (patch) | |
| tree | 7b2badcd7f10bc00a05ba69570ff3643ae1009c0 /examples | |
| parent | 3d2279fba0b322bd8d82bb43cb21f6f6f00515c5 (diff) | |
Add i128/u128 support for bit sets
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index bd4f5c8ca..206fa4a2d 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -946,22 +946,7 @@ deferred_procedure_associations :: proc() { } main :: proc() { - x: u128 = 1233456453347654617; - y: u128 = 19; - z := x * y; - w := z / 120; - - assert(z == 23435672613605437723); - // assert(w == 195297271780045314); - - - fmt.println(x); - fmt.println(y); - fmt.println(z, u128(23435672613605437723)); - fmt.println(w, u128(195297271780045314)); - fmt.println(x % 33774564533476546); - - when false { + when true { general_stuff(); union_type(); parametric_polymorphism(); |