forked from Perl/perl5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quadmath: handle long doubles supplied via va_args in sv_vcatpvfn_fla…
…gs() All of perl's printf() style processing meets up in sv_vcatpvfn_flags() which had three problems when dealing with long double parameters. 1) both the long double (L and q) and __float128 flags (Q) were converted to the internal long double flag 2) the internal long double flag was then always treated as a __float128 parameter. 3) the non-Q format string was then passed to my_snprintf(), which throws an exception on non-Q floating point formats, which meant that C/XS code printing doubles or long doubles in a quadmath built would throw an exception.
- Loading branch information
Showing
4 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ use strict; | |
use warnings; | ||
use Carp; | ||
|
||
our $VERSION = '1.15'; | ||
our $VERSION = '1.16'; | ||
|
||
require XSLoader; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters