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.13339520000000E+09 which is the same  
number that you hard-coded the value to recently. Does your machine  
not calculate this same value of xmin when using the Time_Of function?

You can print out the xmin value by changing the with-clause to look  
like this:

with
     Ada.Text_IO,
     Ada.Numerics,
etc.

and by adding this line right after the xmin calculation:

Ada.Text_IO.Put_Line(Long_Float'image(xmin));


Jerry

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to