This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Zero out high bytes of 80-bit ldnan
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Wed, 23 Nov 2016 15:32:39 +0000 (16:32 +0100)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Wed, 23 Nov 2016 15:32:39 +0000 (16:32 +0100)
commit2b190d47345a2382f53ea347067234fefbbe4707
treeedaa2383b3aced9ab24b622eefd3d7a4d07966fd
parent1bf51bf8ae41241fca73e19cbb98e776be66d58a
Zero out high bytes of 80-bit ldnan

1. Backport of dd6885360b15e763e0706dc28555eea328de432d

   fix garbage filtering with 80-bit long doubles

   The test had several problems that resulted in the excess
   bytes not getting zeroed out. This caused random contents in
   $Config{longdblinfbytes}, observed on Debian with GCC 6.2.0 (but not
   5.4.1).

   Bug-Debian: https://bugs.debian.org/844752

2. Backport of 6b2c7479d6d33249c2385d8a36d8ee9e61e1a519

   also zero out high bytes of 80-bit ldnan

   These are currently zero anyway, but things are probably not guaranteed
   to stay so.
U/perl/infnan.U