Re: (OT) Defining Variables in C with Bases other than 2 or 16
From: martin f krafft (madduck_at_debian.org)
Date: 02/16/05
- Previous message: martin f krafft: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- In reply to: martin f krafft: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- Next in thread: Kirk Strauser: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Feb 2005 01:47:51 +0100 To: debian-user@lists.debian.org
also sprach martin f krafft <madduck@debian.org> [2005.02.16.0134 +0100]:
> In any case, if you are out for performance, avoid the modulo. If
> you want a fixed limit, I suggest providing a typedef to an int, and
> an add and get function. Use the fact that 2^18 % 12 == 0 and work
> with bits 18, 19, and 20 to make automatic use of the integer limit
> for rollover.
Actually, I am not sure this is going to help. Sorry for babbling.
-- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <madduck@debian.org> : :' : proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: Digital signature
- Previous message: martin f krafft: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- In reply to: martin f krafft: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- Next in thread: Kirk Strauser: "Re: (OT) Defining Variables in C with Bases other than 2 or 16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|