The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: m_d@pacbell.net (Michael Davidson)
Subject: [TUHS] Origins of drand48()?
Date: Thu, 1 Apr 2010 00:06:37 -0700 (PDT)	[thread overview]
Message-ID: <926194.30039.qm@web82407.mail.mud.yahoo.com> (raw)
In-Reply-To: <20100401020155.GG18965@bitmover.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3161 bytes --]

I suspect that Larry is almost certainly correct and, as best I can recall I
came to exactly the same conclusion when I looked at it some 12 years
or so ago.

The old SCO may have been hoping to find some evidence that Linux had
in some way used some copyrighted UNIX source code, but management
was neither completely clueless or insane and it was perfectly obvious to
everyone that looked at Bob Swartz's report that there was simply nothing
of any significance there. 

md



md

--- On Wed, 3/31/10, Larry McVoy <lm at bitmover.com> wrote:

From: Larry McVoy <lm@bitmover.com>
Subject: Re: [TUHS] Origins of drand48()?
To: "John Cowan" <cowan at ccil.org>
Cc: tuhs at tuhs.org, "Warren Toomey" <wkt at tuhs.org>
Date: Wednesday, March 31, 2010, 7:01 PM

Hi John.

I suspect it is really ATT source.  There is a lot more of that around
than people admit.

I also suspect it doesn't matter.  Your points about how it works are
part of it, but the bigger part is that Unix, at this point, has very
little IP value.  It's mostly there in Linux et al.

--lm

On Wed, Mar 31, 2010 at 09:23:00PM -0400, John Cowan wrote:
> Warren Toomey scripsit:
> 
> > As far as I can determine, drand48() arrived in SysVR1 and is defined
> > in the first SVID. It doesn't appear in SysIII, nor in the early BSDs.
> > Can anybody shed some light on drand48()? Could it have been written
> > elsewhere and made available e.g on a Usenix tape or comp.sources.*,
> > and included into SysV, or is SysV the origin of the code?
> 
> FWIW, the code appears in OpenSolaris with an AT&T 1988 copyright header.
> It's been generified and given a CDDL license and Sun Microsystems 2008
> copyright header.
> 
> There are a bunch of other copies floating around *without* an AT&T
> copyright, e.g.
> http://cs.nyu.edu/~yap/classes/visual/data/ply/cygwin-version/ply/drand48.c .
> 
> > I'm sure the algorithm comes from elsewhere, e.g. Knuth, but the
> > strong code similarity is a worry.
> 
> It's a linear congruential generator with multiplier 25214903917,
> addend 11, and modulus 2^48, so there's nothing special about that.
> LCGs are indeed discussed in Knuth volume 2.
> 
> -- 
> John Cowan  cowan at ccil.org    http://ccil.org/~cowan
> Big as a house, much bigger than a house, it looked to [Sam], a grey-clad
> moving hill.  Fear and wonder, maybe, enlarged him in the hobbit's eyes,
> but the Mumak of Harad was indeed a beast of vast bulk, and the like of him
> does not walk now in Middle-earth; his kin that live still in latter days are
> but memories of his girth and his majesty.  --"Of Herbs and Stewed Rabbit"
> _______________________________________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs

-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
_______________________________________________
TUHS mailing list
TUHS at minnie.tuhs.org
https://minnie.tuhs.org/mailman/listinfo/tuhs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20100401/e2327b13/attachment.html>


  parent reply	other threads:[~2010-04-01  7:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 22:20 Warren Toomey
2010-04-01  1:23 ` John Cowan
2010-04-01  2:01   ` Larry McVoy
2010-04-01  2:23     ` M. Warner Losh
2010-04-01  7:06     ` Michael Davidson [this message]
2010-04-01 23:39 ` Cyrille Lefevre
2010-04-02  0:17   ` John Cowan
2010-04-02  0:39     ` Larry McVoy
2010-04-02  1:10       ` Jason Stevens

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=926194.30039.qm@web82407.mail.mud.yahoo.com \
    --to=m_d@pacbell.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).