Lines Matching refs:_new
38 # _new and _str
39 my $x = $C->_new("123"); my $y = $C->_new("321");
52 my $z = $C->_new("2");
70 $x = $C->_new("123456789");
79 $x = $C->_new("12356");
83 $x = $C->_new("123456789");
84 $y = $C->_new("987654321");
91 $x = $C->_new("3333"); $y = $C->_new("1111");
93 $x = $C->_new("33333"); $y = $C->_new("1111"); ($x,$y) = $C->_div($x,$y);
95 $x = $C->_new("123"); $y = $C->_new("1111");
99 $x = $C->_new("12345"); $x = $C->_num($x); ok (ref($x)||'',''); ok ($x,12345);
102 $x = $C->_new("12345"); $x = $C->_len($x); ok (ref($x)||'',''); ok ($x,5);
105 $x = $C->_new("3"); $y = $C->_new("4"); ok ($C->_str( $C->_or($x,$y)),7);
106 $x = $C->_new("1"); $y = $C->_new("4"); ok ($C->_str( $C->_xor($x,$y)),5);
107 $x = $C->_new("7"); $y = $C->_new("3"); ok ($C->_str( $C->_and($x,$y)),3);
110 $x = $C->_new("2"); $y = $C->_new("4"); ok ($C->_str( $C->_pow($x,$y)),16);
111 $x = $C->_new("2"); $y = $C->_new("5"); ok ($C->_str( $C->_pow($x,$y)),32);
112 $x = $C->_new("3"); $y = $C->_new("3"); ok ($C->_str( $C->_pow($x,$y)),27);
116 $x = $C->_new("123456789");