>>>> In <kigwwblq6ma.fsf(a)jagor.srce.hr>
>>>> Hrvoje Niksic <hniksic(a)srce.hr> wrote:
Thanks for tracking this down. The right solution is to catch
SIGFPE
in temacs, so that the code works. Martin, what do you think?
'catch SIGFPE in temacs' is safe in dump?
Very old ChnageLog(included in emacs-20.2, not in xemacs-2x) says,
1986-06-06 Richard M. Stallman (rms at prep)
* emacs.c (main): Don't call `signal' if in batch mode
and not initialized and dumping is possible.
* keyboard.c (init_keyboard): likewise for SIGIO.
1986-11-08 Richard M. Stallman (rms at prep)
* data.c (init_data): Don't call signal if purifying.
1986-11-18 Richard M. Stallman (rms at prep)
* dispnew.c (window_change_signal):
New function to handle SIGWINCH, defined only if SIGWINCH is.
Turned on in init_display if CANNOT_DUMP or if initialized.
* data.c (init_data), editfns.c (init_editfns):
Test initialized, not Vpurify_flag. Use explicit
conditionals to avoid the test when CANNOT_DUMP.
Another solution is to set the variables in C ,not in elisp, if
FLT_RADIX, FLT_ROUNDS
DBL_MANT_DIG, DBL_EPSILON,
DBL_DIG, DBL_MIN_EXP,
DBL_MIN, DBL_MIN_10_EXP
DBL_MAX_EXP, DBL_MAX
DBL_MAX_10_EXP
(included from <float.h>) is usable for the purpose.
SAKIYAMA Nobuo nobuo(a)db3.so-net.or.jp