Lines Matching defs:oct
12 our @EXPORT_OK = qw( PI e bpi bexp hex oct );
99 # the following two routines are for "use bigrat qw/hex oct/;":
132 # Internal function with the same semantics as CORE::oct(). This function is
180 # Warn about trailing garbage. CORE::oct() only warns about 8 and 9, but it
202 sub oct(' . $proto . ') {' . <<'.';
230 : CORE::oct($_[0]);
236 $prev_oct = *CORE::GLOBAL::oct{CODE};
239 *CORE::GLOBAL::oct = \&_oct;
256 # for newer Perls always override hex() and oct() with a lexical version:
309 if ($param =~ /^(PI|e|bexp|bpi|hex|oct)\z/) {
415 use bigrat qw/hex oct/;
417 print oct("01234567890123490");
506 =item oct
508 Override the built-in oct() method with a version that can handle big numbers.
510 higher, this is not so necessary, as oct() is lexically overridden in the
713 =item hex()/oct()
718 "oct" - and then it will be global and cannot be disabled inside a scope with
721 use bigrat qw/hex oct/;