diff options
| author | Paul Eggert | 2011-05-03 00:51:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-03 00:51:38 -0700 |
| commit | 7fc4768c45bce52d34f183eb4734d9f58745ea3d (patch) | |
| tree | b7414afb75c1fc941f8a9dd9e6b900cbd1eb9f23 /src/process.c | |
| parent | fed14fd75201f3c313293432e58de8f860979a3e (diff) | |
| download | emacs-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