Could anyone explain what's SIGFPE?
SIGFPE stands for SIGnal Floating Point Exception, that is caused by a
probably invalid operation involving floating points.
Why there is a SetExceptionMask?
Probably to override the same thing already done by (implicitly used)
libraries, e.g. gtk2
Why a
2013/3/7 leledumbo leledumbo_c...@yahoo.co.id
Because setting the mask means telling the processor to generate (or not to
generate? I forgot) SIGFPE for the given operations. e.g. exZeroDivide may
trigger SIGFPE if there's a division by zero with floating point operation.
How to trace? You
Most likely it is your GTK+ theme. Many GTK+ themes and theme engines abuse
floating point calculations which go unnoticed normally since the vast
majority of C/C++ programs do not check for them. The solution is to do
something like (IIRC):
SetExceptionMask([]);
Which disables all floating
Hi All,
I am making a charting program and encountered very weird error. The
exception raised is: 'External: SIGFPE'. In file 'lcltype.pp' at line
3009. On that line is the MulDiv() function, and the operation I am doing
is just assigning font height. I then remembered the question i asked