var i64 = Int64.ofInt(1234567890);
// Output: 123456789000054321
trace(Int64.toStr(i64 * 100000000 + 54321));
After doing some work, it does work. And I found the way I use for Int64 is suitable for more purpose. Anybody interesting?Hello, everyone. I am glad to anounce my library Hoo, which enables operator overloading for Haxe.
Thanks. BTW: I use a selector as the first parameter for evaluate, not just the left operand of the operator. That's because sometimes I need to choose overloaded function by the right operand. e.g. 123+Int64.ofInt(123)
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en