line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Math::Float128::Constant; |
3
|
23
|
|
|
23
|
|
125
|
use strict; |
|
23
|
|
|
|
|
38
|
|
|
23
|
|
|
|
|
537
|
|
4
|
23
|
|
|
23
|
|
92
|
use warnings; |
|
23
|
|
|
|
|
37
|
|
|
23
|
|
|
|
|
4586
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require Exporter; |
7
|
|
|
|
|
|
|
*import = \&Exporter::import; |
8
|
|
|
|
|
|
|
require DynaLoader; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '0.16'; |
11
|
|
|
|
|
|
|
#$VERSION = eval $VERSION; |
12
|
|
|
|
|
|
|
Math::Float128::Constant->DynaLoader::bootstrap($VERSION); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
@Math::Float128::Constant::EXPORT = (); |
15
|
|
|
|
|
|
|
@Math::Float128::Constant::EXPORT_OK = (); |
16
|
|
|
|
|
|
|
|
17
|
23
|
|
|
23
|
0
|
4192
|
sub dl_load_flags {0} # Prevent DynaLoader from complaining and croaking |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub _issue_19550 { # https://github.com/Perl/perl5/issues/19550 |
20
|
23
|
|
|
23
|
|
44
|
my $inf = 999 ** (999 ** 999); |
21
|
23
|
|
|
|
|
70
|
my $discard = "$inf"; |
22
|
23
|
|
|
|
|
54
|
my $inf_copy = $inf; |
23
|
|
|
|
|
|
|
# Using Math::Float128::Constant::_is_NOK_and_POK(): |
24
|
23
|
50
|
33
|
|
|
169
|
return 1 |
25
|
|
|
|
|
|
|
if(!_is_NOK_and_POK($inf) && _is_NOK_and_POK($inf_copy)); |
26
|
23
|
|
|
|
|
1480
|
return 0; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |