Re: drand48() (and erand48) returns only zeros and pthread application problems - in cygwin 1.7.8 returns always same values

2011-01-11 Thread Christopher Faylor
On Tue, Jan 11, 2011 at 11:50:14AM +0100, jdzstz - gmail dot com wrote: >About all the problems with drand48, explained in: > * http://www.cygwin.com/ml/cygwin/2010-12/msg00460.html > >Christopher Faylor fixed it in 20101229 snapshot: >http://www.cygwin.com/snapshots/winsup-changelog-20101226-201

Re: drand48() (and erand48) returns only zeros and pthread application problems

2010-12-29 Thread Jorge Díaz
About drand48() (and erand48) returns only zeros and pthread application problems, I send this mail to both cygwin and newlib mailist. I have compared Cygwin with FreeBSD function implementation: => In Cygwin newlib, srand48 and drand48 use "__rand48_seed" and "__rand48_mult" that are defined

Re: drand48() (and erand48) returns only zeros and pthread application problems

2010-12-28 Thread Christopher Faylor
On Wed, Dec 29, 2010 at 03:47:42AM +0100, Jorge D?az wrote: >I am working with cygwin environment (Cygwin 1.7.7 + Newlib 1.18) >where drand48 function returns always zero values. > >The problem was reported in 2004 at cygwin mailist: >1) http://cygwin.com/ml/cygwin/2004-11/msg00488.html >2)