All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Nicolas Pitre <nico@cam.org>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH 1/2] simple random data generator for tests
Date: Wed, 11 Apr 2007 13:42:05 -0400	[thread overview]
Message-ID: <20070411174205.GQ5436@spearce.org> (raw)
In-Reply-To: <alpine.LFD.0.98.0704111330120.28181@xanadu.home>

Nicolas Pitre <nico@cam.org> wrote:
> ---
>  Makefile         |    7 +++++--
>  test-genrandom.c |   34 ++++++++++++++++++++++++++++++++++
>  2 files changed, 39 insertions(+), 2 deletions(-)
>  create mode 100644 test-genrandom.c

A change to .gitignore would also be nice.  ;-)
 
> +	unsigned long count, next = 0;

What about wraparound?  Could this produce different results on a
32 bit system and a 64 bit system, due to the difference in size
of unsigned long?

-- 
Shawn.

  reply	other threads:[~2007-04-11 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-11 17:33 [PATCH 1/2] simple random data generator for tests Nicolas Pitre
2007-04-11 17:42 ` Shawn O. Pearce [this message]
2007-04-11 17:52   ` Nicolas Pitre
2007-04-11 17:59 ` [PATCH 1/2 (with .gitignore)] " Nicolas Pitre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070411174205.GQ5436@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=nico@cam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.