projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Better NetInfo behaviour.
[p5sagit/p5-mst-13.2.git]
/
lib
/
bigint.pl
diff --git
a/lib/bigint.pl
b/lib/bigint.pl
index
bfd2efa
..
adeb17f
100644
(file)
--- a/
lib/bigint.pl
+++ b/
lib/bigint.pl
@@
-74,7
+74,7
@@
sub external { #(int_num_array) return num_str
sub main'bneg { #(num_str) return num_str
local($_) = &'bnorm(@_);
vec($_,0,8) ^= ord('+') ^ ord('-') unless $_ eq '+0';
- s/^H/N/;
+ s/^./N/ unless /^[-+]/; # works both in ASCII and EBCDIC
$_;
}