Im getting floating point exceptions with *somefunc* ?
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.