There's no 20.10000000000000142 under bigrat:
$ perl -MO=Deparse -Mbigrat -le '$x = 201/10; $y = 20.1000000000000014
+2; print join " ", $x, $y, $x == $y ? "eq" : "ne"'
BEGIN { $/ = "\n"; $\ = "\n"; }
use bigrat;
BEGIN {
$^H{'float'} = q(CODE(0x6003db168));
$^H{'integer'} = q(CODE(0x600495668));
$^H{'binary'} = q(CODE(0x6004a8d28));
$^H{'bigrat'} = q(1);
}
$x = {_d => [10], _n => [201], sign => '+'};
$y = {_e => [17], _es => '-', _m => ['000000142', '010000000', '2'], s
+ign => '+'};
print join(' ', $x, $y, $x == $y ? 'eq' : 'ne');
-e syntax OK
|