Lines Matching refs:aref
1597 my $aref = [];
1598 my $num_val = int($aref);
1599 my $r = bless $aref, 'numify_self';
1608 my $m = bless $aref, 'numify_by_fallback';
1621 is(abs($aref), $num_val, 'abs() of ref');
1622 is(-$aref, -$num_val, 'negative of ref');
1623 is(0+$aref, $num_val, 'ref addition');
1624 is($aref+0, $num_val, 'ref addition');
1625 is($aref+$aref, 2*$num_val, 'ref addition');
1626 is(0-$aref, -$num_val, 'subtraction of ref');
1627 is(1*$aref, $num_val, 'multiplicaton of ref');
1628 is(int($aref/1), $num_val, 'division of ref');
1629 is($aref%100, $num_val%100, 'modulo of ref');
1630 is($aref**1, $num_val, 'exponentiation of ref');