aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2011-05-03 00:51:38 -0700
committerPaul Eggert2011-05-03 00:51:38 -0700
commit7fc4768c45bce52d34f183eb4734d9f58745ea3d (patch)
treeb7414afb75c1fc941f8a9dd9e6b900cbd1eb9f23 /src/process.c
parentfed14fd75201f3c313293432e58de8f860979a3e (diff)
downloademacs-7fc4768c45bce52d34f183eb4734d9f58745ea3d.tar.gz
emacs-7fc4768c45bce52d34f183eb4734d9f58745ea3d.zip
Arithmetic overflows now return float rather than wrapping around.
* data.c: Include <intprops.h>. (arith_driver): Use floating point if the accumulator would otherwise go out of EMACS_INT range. (arith_driver, Fadd1, Fsub1): Use floating point if the result is out of Emacs fixnum range. * bytecode.c (exec_byte_code): Likewise, for Bsub1, Badd1, Bnegate.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions