Prof Abimbola Olowofoyeku wrote:
Would you like to answer two questions about GNU Pascal (MS DOS with DGJPP) for which I haven't found the answer in documentation? I work in MS-DOS under Windows 98 (processor Pentium II).
- Is it possible to force the functions sin, cos, exp, ln, **, etc. to
calculate a result of type LongReal (10 bytes) with a precision of 19 decimal digits (as in BP or Delphi)?
Dunno. But I would be surprised if it wasn't.
This happens automatically if the system library provides `sinl' etc. functions. This doesn't seem to be the case under DJGPP. So you might want to ask the DJGPP developers if/when this will be supported (should be rather easy to do, they'd basically have to copy the code from Linux/IA32, I guess).
Frank