🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13491

Re: Lattice help - drand48() = GURU!

#13491
From: Daniel S. Riley
Date: Sat, 03 Feb 1990 23:59
21 lines
1506 bytes
In article <2290003@hp-ptp.HP.COM> jimg@hp-ptp.HP.COM (Jim_Garrison) writes:
>I have the Lattice 5.04a 'C' compiler, and I've been having a problem with
>one of the supplied random number generators - drand48().  Does anyone know
>if there's a known problem with this function?

This seems to be a popular problem...

This is a known problem with the 5.04 math libraries.  I *thought* that the
5.04a patch was supposed to fix it, and your example program worked fine
for me (no gurus).  You should double check that you installed all the
5.04a library patches correctly, especially the replacement for the CXV35
routine in lcm.lib.

For everyone else having this problem, get the 5.04a patch from Lattice,
either from their bulletin board, BIX (I guess), or call Lattice customer
service.

No, I have no affiliation with Lattice.

-Dan Riley (riley@tcgould.tn.cornell.edu, cornell!batcomputer!riley)
-Wilson Lab, Cornell University
Technical Details
Message-ID: <9662@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!riley
References: <2290003@hp-ptp.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!riley
From: riley@batcomputer.tn.cornell.edu (Daniel S. Riley)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Lattice help - drand48() = GURU!
Summary: known bug, 5.04a should fix it
Message-ID: <9662@batcomputer.tn.cornell.edu>
Date: 3 Feb 90 23:59:43 GMT
References: <2290003@hp-ptp.HP.COM>
Reply-To: riley@tcgould.tn.cornell.edu (Daniel S. Riley)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 21