[Perl/perl5] 2d44f2: Check that positive subnormals are not constant-fo...

[email protected] (sisyphus via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 2d44f2d4261190c808ac1d9b41d3061587cecb32
      https://github.com/Perl/perl5/commit/2d44f2d4261190c808ac1d9b41d3061587cecb32
  Author: Sisyphus <[email protected]>
  Date:   2026-08-23 (Sun, 23 Aug 2026)

  Changed paths:
    M t/op/arith2.t

  Log Message:
  -----------
  Check that positive subnormals are not constant-folded to zero

If nvtype is either double, DoubleDouble, or 80-bit extended precision long double, it checks the smallest possible positive value (aka DENORM_MIN).  Else, (IEEE 754 long double or __float128), it checks a subnormal that's larger than DENORM_MIN.  (It could easily be extended to cover DENORM_MIN for all nvtypes.)

Contributed by Sisyphus in GH #9388.

Committer: arith2.t: Accommodate variable number of tests run

When compiled with -Dusequadmath, one more element is added to @v in the
'unless' block starting at line 72.  Hence, don't specify number of
tests exactly; allow flexibility.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.