develooper Front page | perl.perl5.porters | Postings from July 2010

Re: [perl #76756] PATCH: srand returns the seed

Thread Previous | Thread Next
July 29, 2010 08:32
Re: [perl #76756] PATCH: srand returns the seed
Message ID:
Andy Dougherty wrote:
>> On Wed, 28 Jul 2010, Zefram wrote:
>> > That would be a mess.  The better solution is for negative zero to
>> > stringify as "0".
>But wouldn't that would eliminate the possibility of printing out a valid 
>result of an IEEE-754 calculation?

No.  Only implicit stringification is affected; explicit conversion with
printf %f, etc., would still output the sign when expected.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About