Library Additions

In the directory \FPC\PIC678 there are two .LIB files that offer maths extensions to IRTC. In future any additions to IRTC will be distributed in this form so that you the user may select the range of functions you wish to have in your system. There will always be a trade-off between the size of the IRTC code and the space left for your application extensions, especially with the larger PICs.

DMATHS.LIB

This library extends the maths to 32 bit integer addition and subtraction and testing.

FRACT.LIB

This library requires DMATHS.LIB above and offers a simple fraction based maths where the values are scaled. The scaling factor is 16384 to give the largest range and fixed point numbers to four places with a maximum value of 2.0000. As part of this library there is a signed M/MOD and */.