[parrot/parrot] 77cb00: floatval=long double: fix fdiv_i_i neg, add fabsl

GitHub noreply at github.com
Mon Nov 24 10:34:23 UTC 2014


  Branch: refs/heads/smoke-me/mathl-gh1111
  Home:   https://github.com/parrot/parrot
  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




More information about the parrot-commits mailing list