Branch: refs/heads/rurban/va_arg-float-gh828
  Home:   https://github.com/parrot/parrot
  Commit: f2f80030932859c6f99722afddbf26083ebcf41a
      
https://github.com/parrot/parrot/commit/f2f80030932859c6f99722afddbf26083ebcf41a
  Author: Reini Urban <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  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: eaf06bc05ed311827dcb0cb4ad2990ba6ee37a0a
      
https://github.com/parrot/parrot/commit/eaf06bc05ed311827dcb0cb4ad2990ba6ee37a0a
  Author: Reini Urban <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  Changed paths:
    M runtime/parrot/library/Test/More.pir
    M src/dynoplibs/sys.ops
    M t/dynoplibs/sysinfo.t
    M t/library/test_more.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: b607b9383b8d2fac6d170292ba9d2397dfac1444
      
https://github.com/parrot/parrot/commit/b607b9383b8d2fac6d170292ba9d2397dfac1444
  Author: Reini Urban <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  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: f8135926a9164cf5cdd63b7c482188b91d229ebd
      
https://github.com/parrot/parrot/commit/f8135926a9164cf5cdd63b7c482188b91d229ebd
  Author: Reini Urban <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  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: a1ab6955a33d1fa02ff13555ec3dbd15ad1b0c6f
      
https://github.com/parrot/parrot/commit/a1ab6955a33d1fa02ff13555ec3dbd15ad1b0c6f
  Author: Reini Urban <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  Changed paths:
    M src/pmc/float.pmc

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


Compare: https://github.com/parrot/parrot/compare/b5a723fb8696...a1ab6955a33d

To unsubscribe from these emails, change your notification settings at 
https://github.com/parrot/parrot/settings/notifications
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits

Reply via email to