On Tue, Sep 02, 2008 at 02:03:25AM -0700, Jerry wrote:
On Sep 1, 2008, at 4:10 PM, Alan W. Irwin wrote:
On 2008-09-01 14:58-0700 Jerry wrote:
Andrew,
Does the Ada example, with xmin hardcoded to 1_133_395_200.0,
generate the same Postscript as the C example?
The current Ada
Jerry,
The problem is that Time_Of is in local time. The UK was on daylight
saving time on 1st Jan 1970, and so my reference is 1 hour out. Most
time zones with no DST in operation will give the correct value. I'd
overlook this possibility when I first wrote the C version. That's why
we had to
Andrew,
Does the Ada example, with xmin hardcoded to 1_133_395_200.0,
generate the same Postscript as the C example? (I can't test this on
my machine because the C example doesn't work correctly, as I
discussed earlier.)
Jerry
On Sep 1, 2008, at 12:11 AM, Andrew Ross wrote:
Jerry,
PROTECTED] on behalf of Alan W. Irwin
Sent: Tue 02/09/2008 12:10 AM
To: Jerry
Cc: PLplot development list
Subject: Re: [Plplot-devel] Time calculation in Ada example 29
On 2008-09-01 14:58-0700 Jerry wrote:
Andrew,
Does the Ada example, with xmin hardcoded to 1_133_395_200.0,
generate the same
Andrew,
On my machine, in Ada example 29, the line
xmin := Long_Float(Time_Of(2005, 12, 1, 0.0) - Time_Of(1970, 1, 1,
0.0));
calculates a value of xmin of 1.1333952000E+09 which is the same
number that you hard-coded the value to recently. Does your machine
not calculate this same