Hi folks,

I ran into a problem - or an effect, that I don't understand. There seems to be 
a number that is too big to be displayed. See the following code:

pdl> p 2**40
1099511627776

pdl> p 2**32*1.00001
4295010245.67296

pdl> p 2**36*1.00001
68720163930.7674

pdl> p 2**38*1.00001
274880655723.069

My problem is that I am using a serialized value for the date and time - to 
millisecond precision. So the following represents :
YYYYMMDDHHMMSS.msmsms

  DB<33> p ${$myData{MC800BTS1494}{1}{1}{time}}[0]
20120206201813.220

  DB<34> p ${$myData{MC800BTS1494}{1}{1}{time}}[1]
20120206201813.320

  DB<35> p ${$myData{MC800BTS1494}{1}{1}{time}}[2]
20120206201813.420

  DB<36> p ${$myData{MC800BTS1494}{1}{1}{time}}[4]
20120206201813.620

You'll notice that there are two more digits displayed when they are in Perl 
but after I convert them into a PDL, I lose the last two digits. I didn't think 
that this was considered a BigFloat?

Any thoughts. Thanks,


CLIFF SOBCHUK
Ericsson
Core RF Engineering
Calgary, AB, Canada
Phone 613-667-1974  ECN 8109 x71974
Mobile 403-819-9233
[email protected]<mailto:[email protected]>
yahoo: sobchuk
http://www.ericsson.com/

"The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is 
solely responsible for this email and its contents. All inquiries regarding 
this email should be addressed to Ericsson. The web site for Ericsson is 
www.ericsson.com."

This Communication is Confidential. We only send and receive email on the basis 
of the terms set out at 
www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to