Branch: refs/heads/rurban/va_arg-float-gh828
  Home:   https://github.com/parrot/parrot
  Commit: 9ae55bf313096f1710b35ce9834172527d7c26cd
      
https://github.com/parrot/parrot/commit/9ae55bf313096f1710b35ce9834172527d7c26cd
  Author: Reini Urban <[email protected]>
  Date:   2025-12-17 (Wed, 17 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: 22c760511281705ce8f467265fdefdc5d6880aeb
      
https://github.com/parrot/parrot/commit/22c760511281705ce8f467265fdefdc5d6880aeb
  Author: Reini Urban <[email protected]>
  Date:   2025-12-17 (Wed, 17 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: 4b497c5efde7c20a0a7d88054956edaeaee20799
      
https://github.com/parrot/parrot/commit/4b497c5efde7c20a0a7d88054956edaeaee20799
  Author: Reini Urban <[email protected]>
  Date:   2025-12-17 (Wed, 17 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: 107d441659b83df556a13ec0074a7b88e9e1f098
      
https://github.com/parrot/parrot/commit/107d441659b83df556a13ec0074a7b88e9e1f098
  Author: Reini Urban <[email protected]>
  Date:   2025-12-17 (Wed, 17 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: b5a723fb869689db2b4294f0595d1d0ff6ccd1b7
      
https://github.com/parrot/parrot/commit/b5a723fb869689db2b4294f0595d1d0ff6ccd1b7
  Author: Reini Urban <[email protected]>
  Date:   2025-12-17 (Wed, 17 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/2cfa2570ee2c...b5a723fb8696

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