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.

Im getting floating point exceptions with *somefunc* ?

exceptions floating point
0
Posted

Im getting floating point exceptions with *somefunc* ?

0

Delphi built-in math functions (like Trunc() or Frac) are not all compatible with a non-standard 8087 Control Word (See Set8087CW in Delphi’s help – Nota: Delphi 6/7 do not have this issue, but the implementation is significantly slower). Replacement functions are provided in the VectoryGeometry.pas unit, these functions are also faster than their VCL equivalents, so make sure you are NOT using “math”, but “geometry” instead.

What is your question?

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

Experts123