Brad,
On Wed, 14 Jul 2004, Brad Cavanagh wrote:
> It looks like it's fixed for reals, but I'll present an exercise for the
> interested reader. Spot the flaw in PRM_PAR:
>
> BYTE VAL__MAXUB
> PARAMETER ( VAL__MAXUB = '00'X )
> * [In decimal: 254]
I've fixed this, and checked by eye that the results look OK on ix86
and PowerPC. I've removed the automatic test -- I've spent most of the
day trying very hard to get a test to work and failing (grrrrrr), and
realising that it just isn't worth it. There's too much slipperyness
in Fortran and C integer promotions and format specifiers and all.
This is why the weird hex stuff is there, of course.
Have a go at it now. Sigh.
Norman
--
---------------------------------------------------------------------------
Norman Gray http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK [log in to unmask]
|