Category talk:Wren-i64: Difference between revisions

→‎64-bit integer arithmetic: Removed a sentence which is no longer true.
(→‎Source code (Wren): Fixed some bugs and added prime factorization etc. stuff.)
(→‎64-bit integer arithmetic: Removed a sentence which is no longer true.)
Line 1:
==64-bit integer arithmetic==
 
Although this is already supported in an easy to use way by the Wren-long module, there are some RC tasks which that module (written entirely in Wren) struggles to complete in an acceptable time or to a satisfactory standard. Moreover, it only supports unsigned 64-bit arithmetic.
 
I have therefore written a wrapper for the C99 fixed length types, int64_t and uint64, to deal with such cases which are represented by the Wren classes, I64 and U64, respectively. There are also I64s and U64s classes which contain some static methods for dealing with lists of such objects.
9,485

edits