Branch: refs/heads/23918-cmp-api
  Home:   https://github.com/Perl/perl5
  Commit: b7c19c03124f1623a867abfef54a64c68a4cb8b7
      
https://github.com/Perl/perl5/commit/b7c19c03124f1623a867abfef54a64c68a4cb8b7
  Author: Tony Cook <[email protected]>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.pm
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numeq.t
    A ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numne() to the API

some refactoring next, since sv_numeq_flags and sv_numne_flags are
similar.

Used a separate test file since putting every sv_num*() variant in the
one file would be ugly

Addresses GH #23918 but isn't a direct fix


  Commit: 0b801032ec59a4720ef9f34faebb411f6fb9f49b
      
https://github.com/Perl/perl5/commit/0b801032ec59a4720ef9f34faebb411f6fb9f49b
  Author: Tony Cook <[email protected]>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c

  Log Message:
  -----------
  sv.c: extract the common parts of sv_numeq_flags and sv_numne_flags


  Commit: 1eb9bfcfae3312435f348be4dd8e4ad869d56df7
      
https://github.com/Perl/perl5/commit/1eb9bfcfae3312435f348be4dd8e4ad869d56df7
  Author: Tony Cook <[email protected]>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  sv_numeq/sv_numne: consolidate the similar documentation

If nothing else putting them together may avoid someone doing
`!sv_numeq(...)`


  Commit: c1fe66bd63e74d3ed95fd4e911f9695391535428
      
https://github.com/Perl/perl5/commit/c1fe66bd63e74d3ed95fd4e911f9695391535428
  Author: Tony Cook <[email protected]>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    A ext/XS-APItest/t/sv_numcmp.t
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numcmp() to the API


  Commit: baccd9802aad13ac9eb58b313ffe6ce0ff19953f
      
https://github.com/Perl/perl5/commit/baccd9802aad13ac9eb58b313ffe6ce0ff19953f
  Author: Tony Cook <[email protected]>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M ext/XS-APItest/t/sv_numcmp.t
    M ext/XS-APItest/t/sv_numeq.t
    M ext/XS-APItest/t/sv_numne.t
    M sv.c

  Log Message:
  -----------
  sv_num*: correctly handle "0+" overloaded values

do_ncmp() expects simple SVs and for overloaded SVs will just compare
the SvNV() of each SV, mishandling the case where the 0+ overload
returns a large UV or IV that isn't exactly representable as an NV.

# Conflicts:
#       ext/XS-APItest/t/sv_numeq.t
#       ext/XS-APItest/t/sv_numne.t
#       sv.c


  Commit: b9631cb7847c637903fb766fd4cd4944d7787464
      
https://github.com/Perl/perl5/commit/b9631cb7847c637903fb766fd4cd4944d7787464
  Author: Tony Cook <[email protected]>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M MANIFEST
    M embed.fnc
    M embed.h
    M ext/XS-APItest/APItest.xs
    A ext/XS-APItest/t/sv_numlget.t
    M proto.h
    M sv.c
    M sv.h

  Log Message:
  -----------
  add sv_numle(), sv_numlt(), sv_numge(), sv_numgt() APIs

These are all needed because overloading may make them inconsistent
with <=> overloading.


  Commit: a55ce331b565afc1a52958367b2a697d995593a1
      
https://github.com/Perl/perl5/commit/a55ce331b565afc1a52958367b2a697d995593a1
  Author: Tony Cook <[email protected]>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M pod/perldelta.pod
    M sv.c

  Log Message:
  -----------
  add perldelta for sv_numeq fix and other sv_num* additions

modified the sv.c documentation since the perldelta sv_numeq link had
multiple targets.


Compare: https://github.com/Perl/perl5/compare/b7c19c03124f%5E...a55ce331b565

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to