The: #define int long
is defensive programming against 16 bit compilers which
truncate long values which are valid in the LPC-10 code.
>> I'm not quite sure, but it seems to be working fine,
>> better than the last LPC which was doing math errors
If the original PARC LPC code (which remains in the program,
as it is a standard VAT and RTP compression mode) is generating
floating point errors, this indicates that your system is not
masking floating point exceptions and handling them by default.
The LPC code routinely generates floating underflows, which the
FPU should set to zero with no error indication. If you're
getting interrupts for this, your coprocessor support is
enabling interrupts most systems mask.
------- End of Forwarded Message