Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to recompile or relink the standard CA-Clipper libraries to make CA-Clipper fully compatible with the Borlandcompilers?

0
Posted

Is there a way to recompile or relink the standard CA-Clipper libraries to make CA-Clipper fully compatible with the Borlandcompilers?

0

No. Floating point function calls are too tightly coupled with the compiler’s code generation to allow that to be done. It is possible to write BCD replacement functions for the very low-level functions that call the floating-point math libraries. (They have names such as __DVADD() and can be found in the map file output from any decent linker.) The problem with this approach is that any numeric _literals_ in the source code are already embedded into the object code as double-precision floats. There does not appear to be a good way for a replacement math library to deal with the fact that sometimes it will be handed BCD numerics and float numerics at different times.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123