• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unsigned Modulo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsigned Modulo


  • Subject: Re: Unsigned Modulo
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 12 Aug 2015 07:06:09 -0600

On Aug 12, 2015, at 4:12 AM, Gerriet M. Denkmann <email@hidden> wrote:
>
> This code produces some (for me) unexpected results:

% is remainder NOT modulus. Unfortunately early editions of K&R had it misnamed, and that has stuck despite that error having been corrected well over 20 years ago.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice






_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Unsigned Modulo
      • From: Jens Alfke <email@hidden>
References: 
 >Unsigned Modulo (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Unsigned Modulo
  • Next by Date: Re: Unsigned Modulo
  • Previous by thread: Re: Unsigned Modulo
  • Next by thread: Re: Unsigned Modulo
  • Index(es):
    • Date
    • Thread