Floating-point numbers (on the Amiga)

Andrew Burton aliensrcooluk at yahoo.co.uk
Mon Jul 28 15:50:54 CDT 2008


Thanks to Lawrence and Lee, I solved the problem.

I was getting the mantissa value by reading the longword with an offset of -1. However the byte before the mantissa had a value of 1, thus adding 16777216 to the value when read in with the mantissa! Oops.


I shall check my code more carefully next time :)


Regards,
Andrew B
aliensrcooluk at yahoo.co.uk




More information about the cctech mailing list