perl5-5.36.1_1 package contains bignum/bigint/bigfloat modules which work incorrectly with printf/sprintf. Test script: ------------------------------ #!/usr/bin/env perl use strict; use warnings; use bignum; my $a = 0.1; my $b = sprintf("%0.1f", $a); print "$a = $b\n"; ------------------------------ Expected output is "0.1 = 0.1". Actual output is "0.1 = 0.0". Workaround: pkg install p5-Math-BigInt The package provides new versions of bignum/bigint/bigfloat modules.
The Perl provided is not patched, so, please, report this upstream, Perl has a perlbug utility to make things easier.