On a 32 bit system you can print a 32 bit value as a long (verinum)
This commit is contained in:
parent
6948c27c2d
commit
4e94b81a4b
|
|
@ -780,7 +780,7 @@ ostream& operator<< (ostream&o, const verinum&v)
|
||||||
|
|
||||||
/* If the number is fully defined (no x or z) then print it
|
/* If the number is fully defined (no x or z) then print it
|
||||||
out as a decimal number. */
|
out as a decimal number. */
|
||||||
if (v.is_defined() && v.len() < 8*sizeof(long)) {
|
if (v.is_defined() && v.len() <= 8*sizeof(long)) {
|
||||||
if (v.has_sign())
|
if (v.has_sign())
|
||||||
o << "'sd" << v.as_long();
|
o << "'sd" << v.as_long();
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue