[Plplot-devel] Progress on leap seconds

2009-02-23 Thread Alan W. Irwin
I have almost finished assembling the needed components of leap second logic for libqsastime. 1) tai-utc-gen.c (implemented a few days ago) generates a header with the needed leap-second information parsed from the tai-utc.dat file. 2) The programming of bhunt_search has been completed. The poin

Re: [Plplot-devel] Need help debugging f77 issue with gcc 4.4 on ppc

2009-02-23 Thread Orion Poplawski
Alan W. Irwin wrote: > On 2009-02-13 11:15-0800 Alan W. Irwin wrote: > >> On 2009-02-13 09:50- Andrew Ross wrote: >> >>> [...]I'm happy for you to give it [simplified approach for PLUNICODE > mapping to fortran integer*4] a try. >> >> I did so (revision 9523) for the f77 interface. It works f

Re: [Plplot-devel] Patch for nan and +/- infinity support in plimage

2009-02-23 Thread Werner Smekal
Hi Andrew, > I've tidied up the existing isnan support and added isinf as well. This > needs testing, particularly on windows / other non-linux platforms. > > The addition of isinf leads to warnings for MinGW In file included from Z:/DevZone/PLdev/plplot/include/plplotP.h:186,

[Plplot-devel] HAVE_lua51

2009-02-23 Thread Orion Poplawski
Is this really the only way to detect lua51? Seems kind of clumsy. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA DivisionFAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.

Re: [Plplot-devel] Need help debugging f77 issue with gcc 4.4 on ppc

2009-02-23 Thread Alan W. Irwin
On 2009-02-13 11:15-0800 Alan W. Irwin wrote: > On 2009-02-13 09:50- Andrew Ross wrote: > >> [...]I'm happy for you to give it [simplified approach for PLUNICODE mapping to fortran integer*4] a try. > > I did so (revision 9523) for the f77 interface. It works fine for gfortran. > Will everybo

Re: [Plplot-devel] ctest on Mac OS X

2009-02-23 Thread Alan W. Irwin
On 2009-02-23 15:43+0100 Werner Smekal wrote: > Hi, > > I've just run ctest on Mac OS X (cmake -DCMAKE_BUILD_TYPE=Debug - > DBUILD_TEST=ON -DENABLE_lua=OFF ../plplot/) and got the following > results after I changed tail --lines to tail -n in the test scripts (I > hope this works with GNU tail as

Re: [Plplot-devel] Patch for nan and +/- infinity support in plimage

2009-02-23 Thread Andrew Ross
On Mon, Feb 23, 2009 at 09:03:54AM -0500, Hezekiah M. Carty wrote: > On Mon, Feb 23, 2009 at 5:04 AM, Andrew Ross > wrote: > > > > Hez, > > > > Thanks for this. You've got me started thinking about something that has > > been on my todo list for a long time. Actually, it may not be as much > > wor

[Plplot-devel] ctest on Mac OS X

2009-02-23 Thread Werner Smekal
Hi, I've just run ctest on Mac OS X (cmake -DCMAKE_BUILD_TYPE=Debug - DBUILD_TEST=ON -DENABLE_lua=OFF ../plplot/) and got the following results after I changed tail --lines to tail -n in the test scripts (I hope this works with GNU tail as well, I commited that change): c++ Missing exampl

Re: [Plplot-devel] Patch for nan and +/- infinity support in plimage

2009-02-23 Thread Hezekiah M. Carty
On Mon, Feb 23, 2009 at 5:04 AM, Andrew Ross wrote: > > Hez, > > Thanks for this. You've got me started thinking about something that has > been on my todo list for a long time. Actually, it may not be as much > work as I had assumed. It is not just plimage that has to worry about > these issue -

Re: [Plplot-devel] Tcl x21 - MSVC9 nan

2009-02-23 Thread Arjen Markus
Hi Terrence, here is some background information - http://wiki.apache.org/stdcxx/FloatingPoint (the cover of the Hitchhiker's Guide to the Galaxy comes to mind) Regards, Arjen On 2009-02-21 18:22, trc wrote: > Hi, > > I am using MSVC 9 with (Activestate) Tcl 8.5 > > Example 21 fails as

Re: [Plplot-devel] Tcl x21 - MSVC9 nan

2009-02-23 Thread Arjen Markus
Hello Terrence, some interaction with a fellow Tcler made me realise that this may be the "best" way to deal with NaNs of unclear denomination: if { ![string is double $x] || $x != $x } { ... it is not a valid number or it is NaN } (sprintf() as used in the bindings will either produce a va

Re: [Plplot-devel] Tcl x21 - MSVC9 nan

2009-02-23 Thread Arjen Markus
Hi Terrence, just tried this with Tcl 8.5: > set a NaN NaN > expr {$a==$a} 0 > string is double $a 1 So: The string NaN is recognised as a "Not-a-Number", hence the failure of the test "$a==$a" (one of the distinguishing properties of NaNs) but: NaN is recognised as a double precision number

Re: [Plplot-devel] time

2009-02-23 Thread Schwartz, Steven J
Alan I think your approach is perfectly sensible. After all, the original motivation for building qsastime was to avoid the idiosynchracies (sp?) of C time handling. Now, of course, it will also handle times from the beginning to the end of time as we know it (more or less) which is a bonu

Re: [Plplot-devel] Patch for nan and +/- infinity support in plimage

2009-02-23 Thread Andrew Ross
Hez, Thanks for this. You've got me started thinking about something that has been on my todo list for a long time. Actually, it may not be as much work as I had assumed. It is not just plimage that has to worry about these issue - at least plline and plcont / plshade have problems too. plgridd