CompuServe Thread

Forum unknown · Modula-2

#TDI Upgrade

1 messages in this thread
#101606From: Steve FaiwiszewskiJan 4, 1988 9:10 PM
Please do upload the time and date (and string parsing) manipulation modules; it's always nice to have such code around. You can access the FFP library using the TDI M2 package, but you gotta do it yourself. In other words, you can't just simply declare a REAL and use it; you gotta declare some type which has the same size as the FFP reals, and you gotta open the FFP library and make explicit function calls to it to do the most rudimentary things (such as add, subtract, multiply and divide, not to mention trig and log functions). I haven't done this in Modula yet, but there's quite a bit of code showing how to do this for the Lattice C compiler. – Steve –