[parrot/parrot] df855d: [config] Extend auto::infnan probe to other --floa...

GitHub noreply at github.com
Sat Nov 22 08:08:33 UTC 2014


  Branch: refs/heads/smoke-me/va_arg-float-gh828
  Home:   https://github.com/parrot/parrot
  Commit: df855dec527251cb7dee97c59241c62543672959
      https://github.com/parrot/parrot/commit/df855dec527251cb7dee97c59241c62543672959
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M ChangeLog
    M config/auto/infnan.pm
    M config/auto/infnan/test_c.in

  Log Message:
  -----------
  [config] Extend auto::infnan probe to other --floatval #1146

also check the real output for isnan and isinf.
maybe we should also check for NAN != NAN


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

  Changed paths:
    M src/pmc/float.pmc
    M t/src/embed/pmc.t
    M t/src/extend_vtable.t

  Log Message:
  -----------
  [GH# 828] Avoid passsing non-double through va_list

va_list does not support float, long double nor __float128 on most systems.
Promote FLOATVAL to double to avoid that.


  Commit: 944f9775092a59f0e0f2f3fbc6b8e89b02e33611
      https://github.com/parrot/parrot/commit/944f9775092a59f0e0f2f3fbc6b8e89b02e33611
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M runtime/parrot/library/Test/More.pir
    M src/dynoplibs/sys.ops
    M t/dynoplibs/sysinfo.t
    M t/dynpmc/rational.t
    M t/library/test_more.t
    M t/pmc/integer.t
    M t/pmc/testlib/packfile_common.pir

  Log Message:
  -----------
  [GH #828] Fix most tests for non-double floatval

Add more needed precisions to numeric tests, tested with intel long double.

Change a magic number in t/library/test_more.t 888.81<=>888.82 1e-2
  was not stable enough for intel long double

Use t/pmc/testlib/annotations.pbc for binary comparisons of packfiles since
  stringifying non-double numbers is not stable enough.

Fix src/dynoplibs/sys.ops doublesize to numvalsize. This only works for double.


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

  Changed paths:
    M config/auto/va_ptr.pm
    M config/auto/va_ptr/test_c.in
    M config/gen/config_h/feature_h.in
    M src/call/args.c

  Log Message:
  -----------
  [GH #828] Probe if double is needed for va_arg or if native floatval does fine

Set new feature.h PARROT_VA_PTR_FLOATVAL to double or the given floatval,
and use it in src/call/args.c

Print "stack|register (double)" in Configure va_arg result if a cast is
required and precision is lost.

Still some va_arg casts missing, multidispatch.t and nci.t fail.


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

  Changed paths:
    M src/call/args.c
    M src/string/spf_vtable.c

  Log Message:
  -----------
  [GH #828] Use more va_arg PARROT_VA_PTR_FLOATVAL


  Commit: 135b0c554d6548a15cec93ba55dcf1d4d45ad1bb
      https://github.com/parrot/parrot/commit/135b0c554d6548a15cec93ba55dcf1d4d45ad1bb
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M config/gen/config_h/feature_h.in

  Log Message:
  -----------
  [cage] ident #define properly


  Commit: 2cfa2570ee2c3f733d5951d41bc651595b25f150
      https://github.com/parrot/parrot/commit/2cfa2570ee2c3f733d5951d41bc651595b25f150
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M src/pmc/float.pmc

  Log Message:
  -----------
  use PARROT_VA_PTR_FLOATVAL in float.pmc


Compare: https://github.com/parrot/parrot/compare/df855dec5272^...2cfa2570ee2c


More information about the parrot-commits mailing list