Skip Menu |

This queue is for tickets about the Palm-ThinkDB CPAN distribution.

Report information
The Basics
Id: 101339
Status: new
Priority: 0/
Queue: Palm-ThinkDB

People
Owner: Nobody in particular
Requestors: Alan.Wehmann [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: fix for floating point values
Date: Tue, 6 Jan 2015 06:11:17 -0600
To: bug-Palm-ThinkDB [...] rt.cpan.org
From: alan.wehmann [...] gmail.com
The latest version is: Palm-ThinkDB-0.02 It does not properly decode/encode floating point numbers coming from a SmatList-To-Go (SLTG) database. The author's README file says this is so. I have found that SLTG is using a standard representation for 32 bit floating point (FP) numbers. Unpacking with the code "f>" in the Perl "unpack" function gives the correct FP result in Perl. The same code can be used to pack the floating point number when writing a file to be transferred back to the Palm handheld. My system information is: Darwin Alans-Air.lan 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 -- Alan Wehmann Alan.Wehmann@gmail.com