File tree 3 files changed +6
-11
lines changed 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ my %other_export_tags = ( # cf. exports policy below
428
428
Inf NaN acosh asinh atanh cbrt copysign erf erfc exp2 expm1 fdim fma
429
429
fmax fmin fpclassify hypot ilogb isfinite isgreater isgreaterequal
430
430
isinf isless islessequal islessgreater isnan isnormal isunordered j0 j1
431
- jn lgamma log1p log2 logb lrint nan nearbyint nextafter nexttoward
431
+ jn lgamma log1p log2 logb lrint lround nan nearbyint nextafter nexttoward
432
432
remainder remquo rint round scalbn signbit tgamma trunc y0 y1 yn
433
433
) ],
434
434
@@ -465,10 +465,7 @@ my %other_export_tags = ( # cf. exports policy below
465
465
466
466
# you do not want to add symbols to the following list. add a new tag instead
467
467
our @EXPORT_OK = (qw( close lchown nice open pipe read sleep times write
468
- printf sprintf lround) ,
469
- # lround() should really be in the :math_h_c99 tag, but
470
- # we're too far into the 5.24 code freeze for that to be
471
- # done now. This can be revisited in the 5.25.x cycle.
468
+ printf sprintf) ,
472
469
grep {!exists $export {$_ }} keys %reimpl , keys %replacement , keys %export_ok );
473
470
474
471
our %EXPORT_TAGS = ( %default_export_tags , %other_export_tags );
Original file line number Diff line number Diff line change @@ -141,14 +141,17 @@ my %expect = (
141
141
waitpid write
142
142
) ,
143
143
# this stuff was added in 5.21
144
+ # (though an oversight meant that lround wasn't listed here
145
+ # initially; it was added to @EXPORT_OK in 5.23, and to the
146
+ # :math_h_c99 tag in 5.25)
144
147
qw(
145
148
FE_DOWNWARD FE_TONEAREST FE_TOWARDZERO FE_UPWARD
146
149
fegetround fesetround
147
150
Inf NaN
148
151
acosh asinh atanh cbrt copysign erf erfc exp2 expm1 fdim
149
152
fma fmax fmin fpclassify hypot ilogb isfinite isgreater
150
153
isgreaterequal isinf isless islessequal islessgreater isnan
151
- isnormal isunordered j0 j1 jn lgamma log1p log2 logb lrint nan
154
+ isnormal isunordered j0 j1 jn lgamma log1p log2 logb lrint lround nan
152
155
nearbyint nextafter nexttoward remainder remquo rint round scalbn
153
156
signbit tgamma trunc y0 y1 yn strtold
154
157
) ,
@@ -166,10 +169,6 @@ my %expect = (
166
169
POLL_IN POLL_OUT POLL_MSG POLL_ERR POLL_PRI POLL_HUP
167
170
SI_USER SI_QUEUE SI_TIMER SI_ASYNCIO SI_MESGQ
168
171
) ,
169
- # this was implemented in 5.21, but not exported; it was added to
170
- # @EXPORT_OK late in 5.23, and will be added to :math_h_c99 tag early
171
- # in 5.25
172
- qw( lround ) ,
173
172
],
174
173
);
175
174
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ use strict;
4
4
5
5
use POSIX ' :math_h_c99' ;
6
6
use POSIX ' :nan_payload' ;
7
- use POSIX ' lround' ;
8
7
use Test::More;
9
8
10
9
use Config;
You can’t perform that action at this time.
0 commit comments