[parrot/parrot] d9f153: auto::mathl: probe and use more long math function...

GitHub noreply at github.com
Mon Nov 24 12:17:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: d9f153513da69f445fffbce52f76f9e769156855
      https://github.com/parrot/parrot/commit/d9f153513da69f445fffbce52f76f9e769156855
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M ChangeLog
    M MANIFEST
    R config/auto/labs.pm
    R config/auto/labs/test_c.in
    A config/auto/mathl.pm
    A config/auto/mathl/test_c.in
    M lib/Parrot/Configure/Step/List.pm
    M src/dynoplibs/math.ops
    M src/ops/core_ops.c
    M src/ops/math.ops
    M src/string/api.c

  Log Message:
  -----------
  auto::mathl: probe and use more long math functions

Renamed auto::labs to auto::mathl
Use: ceill floorl powl fmodl expl logl in the math ops
Closes GH #1111


  Commit: 77cb00ec15832bca091e4d8153395c0d38d7dddd
      https://github.com/parrot/parrot/commit/77cb00ec15832bca091e4d8153395c0d38d7dddd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M ChangeLog
    M config/auto/mathl.pm
    M config/auto/mathl/test_c.in
    M src/ops/core_ops.c
    M src/ops/math.ops
    M src/pmc/float.pmc
    M src/string/api.c
    M t/dynoplibs/sysinfo.t
    M t/dynpmc/rational.t
    M t/op/jitn.t
    M t/pmc/packfile.t

  Log Message:
  -----------
  floatval=long double: fix fdiv_i_i neg, add fabsl

also fix ceil_n, floor_n for long double.
use ceill and floorl only with long double.

fix most long double tests,
just the embed API is still broken for long double:
t/src/embed/pmc.t                         (Wstat: 256 Tests: 9 Failed: 1)
  Failed test:  2
t/src/extend_vtable.t                     (Wstat: 3840 Tests: 134 Failed: 15)
  Failed tests:  7, 22, 46-47, 59, 72, 80-81, 89-90, 96-97
          103-104, 128

Missing: long variants for more float methods, like sin, cos, ...
Closes GH #1111


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

  Changed paths:
    M t/pmc/packfile.t

  Log Message:
  -----------
  [test] todo packfile re-pack with non-default numbers


Compare: https://github.com/parrot/parrot/compare/09903d637ad6...bb6326b900c1


More information about the parrot-commits mailing list