Re: swift and objective-c
Re: swift and objective-c
- Subject: Re: swift and objective-c
- From: Scott Ribe <email@hidden>
- Date: Thu, 05 Jun 2014 07:33:23 -0600
On Jun 5, 2014, at 3:04 AM, Jeremy Pereira <email@hidden> wrote:
> If I set y to -3, the definition becomes
>
> "The modulo operation is precisely defined, x mod -3 results in a positive integer between 0 and -4"
>
> That is clearly nonsense.
It is not nonsense; it is the definition of modulo; look it up. (For instance: The Art of Computer Programming 3rd Ed Volume 1, Knuth, page 39; or Introduction to Algorithms 2nd Ed, Cormen, Leiserson, Rivest, Stein, page 851.)
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden