Re: [fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Florian Klämpfl
Am 24.11.2011 14:59, schrieb Sergei Gorelkin: > Hello, > > There are some differences between FPC and Delphi exception handling > (working on SEH support, one would inevitably collect all of them): > > 1) Delphi uses EZeroDivide for floating-point division by zero, while > FPC uses EDivByZero (th

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Paul Ishenin
24.11.11 21:59, Sergei Gorelkin пишет: 1) Delphi uses EZeroDivide for floating-point division by zero, while FPC uses EDivByZero (the same exception class is used for integer division by zero). Should it be fixed? 2) Delphi uses EUnderflow for floating-point underflow condition, while FPC uses E

[fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Sergei Gorelkin
Hello, There are some differences between FPC and Delphi exception handling (working on SEH support, one would inevitably collect all of them): 1) Delphi uses EZeroDivide for floating-point division by zero, while FPC uses EDivByZero (the same exception class is used for integer division by z