blib/script/data_type_integer_precision.pl untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use Perl::Types;
4 use strict;
5 use warnings;
6 our $VERSION = 0.001_000;
7  
8 my nonsigned_integer $uifoo = 5;
9 my nonsigned_integer $uibar = ~($uifoo);
10 print '$uifoo = ' . $uifoo . "\n";
11 print '$uibar = ' . $uibar . "\n";
12  
13 use integer;
14  
15 my integer $ifoo = 5;
16 my integer $ibar = ~($ifoo);
17 print '$ifoo = ' . $ifoo . "\n";
18 print '$ibar = ' . $ibar . "\n";
19