1. 22 May, 2011 1 commit
  2. 21 May, 2011 2 commits
    • Paul Eggert's avatar
      * data.c: Avoid integer truncation in expressions involving floats. · 0ae6bdee
      Paul Eggert authored
      * data.c: Include <intprops.h>.
      (arith_driver): When there's an integer overflow in an expression
      involving floating point, convert the integers to floating point
      so that the resulting value does not suffer from catastrophic
      integer truncation.  For example, on a 64-bit host (* 4
      most-negative-fixnum 0.5) should yield about -4.6e+18, not zero.
      Do not rely on undefined behavior after integer overflow.
    • Paul Eggert's avatar
      merge count_size_as_multibyte, parse_str_to_multibyte · de883a70
      Paul Eggert authored
      * character.c, character.h (count_size_as_multibyte):
      Renamed from parse_str_to_multibyte; all uses changed.
      Check for integer overflow.
      * insdel.c, lisp.h (count_size_as_multibyte): Remove,
      since it's now a duplicate of the other.  This is more of
      a character than a buffer op, so better that it's in character.c.
      * fns.c, print.c: Adjust to above changes.
  3. 20 May, 2011 12 commits
  4. 19 May, 2011 9 commits
  5. 18 May, 2011 16 commits