Happy New Year to all
> -----Original Message-----
> From: owner-pop-forum@cs.bham.ac.uk
> [mailto:owner-pop-forum@cs.bham.ac.uk]On Behalf Of Aaron Sloman
> Sent: 03 January 2005 19:57
> To: pop-forum@cs.bham.ac.uk
> Subject: single float results: a problem with C also, not just Fortran!
SNIP
> So the problem is there in C too (if what I have done is OK).
SNIP
Which would suggest that the conversion from single precision floats to pop
floats is the problem.
I believe this has to be hand written in assembler, with knowledge of both
pop-floats and native (single floats).
I guess that the inverse mapping should be checked as well.
What happens if you make baz
float baz(float x)
write (6), x ! I may have this syntax wrong
{return x;}
Just a though
Joe
|