[swift-users] Modulo operation in Swift?
jens at bitcycle.com
Thu Nov 9 05:43:20 CST 2017
Is there a modulo operation/function in Swift? I want the "true"
mathematical modulo (as % in Python), and not remainder (as % in Swift).
Do I have to implement this basic mathematical function myself and if so
what is the best way to write it (it will be heavily used so I want it to
be as fast as possible)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users