Path: utzoo!attcan!uunet!mcsun!hp4nl!kunivv1!root From: root@kunivv1.sci.kun.nl (Privileged Account) Newsgroups: comp.lang.c Subject: drand48 Keywords: random function information Message-ID: <1198@kunivv1.sci.kun.nl> Date: 21 Mar 90 13:00:58 GMT Distribution: comp Organization: University of Nijmegen, The Netherlands. Lines: 17 Does anybody know how the drand48 function of C works? We have got problems with it, when we assign the result of the drand48 function to a variable and print it afterwards, the value printed is not between 0 and 1. But, when we instead print the result of drand48 directly, the result is between 0 and 1. Anyone got any solutions? Please mail me directly because I don't read this group regularly. Thanks anyway, for reading this message. John Graat, ttn8@erato.cs.kun.nl University of Nijmegen, The Netherlands.