Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uwm.edu!linac!unixhub!stanford.edu!jackk@shasta.Stanford.EDU From: jackk@shasta.Stanford.EDU (jackk) Newsgroups: comp.unix.aix Subject: Re: drand48() Keywords: BUG, work as designed Message-ID: <190@shasta.Stanford.EDU> Date: 9 May 91 01:26:04 GMT References: <1991May08.214654.26143@lynx.CS.ORST.EDU> <1991May08.234014.6370@lynx.CS.ORST.EDU> Organization: Stanford University Computer Systems Laboratory Lines: 18 >|> >|> What is the problem on RS/6000? Is it a BUG in drand48() or is it 'work >|> as designed'??? :-( :-( >|> >|> --- >|> Guangliang He | -----Go Blazers!----- > >As Marc (jackk@shasta.Stanford.EDU) pointed in a Email message,declearing ^^^^^^ not his address ---I was wrong about the initialization... he was right about the declaration >double drand48() fix the problem on AIX. Sorry for the confusion, folks. > >But I'm still wondering why the program worked on SUN without declearing >double drand48(), What is the difference between two compilers? > Actually, it fails on my SUN/4 without the declaration as well, so perhaps its a feature of a specific version of a Sun compiler.