Lines Matching defs:hex
12 our @EXPORT_OK = qw( PI e bpi bexp hex oct );
120 # the following two routines are for "use bigint qw/hex oct/;":
124 # Internal function with the same semantics as CORE::hex(). This function is
216 sub hex(' . $proto . ') {' . <<'.';
242 : CORE::hex($_[0]);
258 $prev_hex = *CORE::GLOBAL::hex{CODE};
261 *CORE::GLOBAL::hex = \&_hex;
277 # for newer Perls always override hex() and oct() with a lexical version:
330 if ($param =~ /^(PI|e|bexp|bpi|hex|oct)\z/) {
417 print hex("0x1234567890123490"); # Perl v5.10.0 or later
425 use bigint qw/hex oct/;
426 print hex("0x1234567890123490");
552 =item hex
554 Override the built-in hex() method with a version that can handle big numbers.
556 higher, this is not necessary, as hex() is lexically overridden in the current
770 =item hex()/oct()
774 happen unless you specifically ask for it with the two import tags "hex" and
778 use bigint qw/hex oct/;
780 print hex("0x1234567890123456");
783 print hex("0x1234567890123456");
786 The second call to hex() will warn about a non-portable constant.
793 print hex("0x1234567890123456");