[parrot/parrot] fad80c: Add C90 labs() instead of abs(), our INTVAL is lon...

GitHub noreply at github.com
Thu Nov 6 12:35:24 UTC 2014


  Branch: refs/heads/smoke-me/labs-gh1111
  Home:   https://github.com/parrot/parrot
  Commit: fad80cfcde10318487e76637d438e5cbfb9dde75
      https://github.com/parrot/parrot/commit/fad80cfcde10318487e76637d438e5cbfb9dde75
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M ChangeLog
    M MANIFEST
    A config/auto/labs.pm
    A config/auto/labs/test_c.in
    M config/auto/snprintf.pm
    M lib/Parrot/Configure/Step/List.pm
    M src/ops/core_ops.c
    M src/ops/math.ops
    A t/steps/auto/labs-01.t
    M t/steps/auto/snprintf-01.t

  Log Message:
  -----------
  Add C90 labs() instead of abs(), our INTVAL is long

A 32-bit MSVC smoke would be nice.


  Commit: a986981b03c6a52d7c7a0e9830caa02d8d4d140a
      https://github.com/parrot/parrot/commit/a986981b03c6a52d7c7a0e9830caa02d8d4d140a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/math.ops
    M src/pmc/integer.pmc

  Log Message:
  -----------
  [core] part 2 of labs GH #1111

only use labs() on 64-bit.
also use it with Integer.absolute


Compare: https://github.com/parrot/parrot/compare/a239ec0e13db...a986981b03c6


More information about the parrot-commits mailing list