develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [ID 20010305.005] "use integer" doesn't make rand() return integers

Thread Previous | Thread Next
From:
Bryan C . Warnock
Date:
March 8, 2001 03:02
Subject:
Re: [ID 20010305.005] "use integer" doesn't make rand() return integers
Message ID:
01030806042603.05028@homer.idiocity.nut
On Thursday 08 March 2001 05:35, Nicholas Clark wrote:

> Both arguments get truncated before any calculation
> It's not the "rounded" result of a floating point calculation.

Yeah, I don't know what I was thinking last night.  Too many things at 
once, maybe.

Thanks, I got it.

-- 
Bryan C. Warnock
bwarnock@capita.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About