git://www.ginac.de
/
ginac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7595b93
)
- fixed a small oops: iprint() didn't reset the number output format to decimal
author
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Wed, 5 Apr 2000 21:01:11 +0000
(21:01 +0000)
committer
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Wed, 5 Apr 2000 21:01:11 +0000
(21:01 +0000)
ginsh/ginsh_parser.yy
patch
|
blob
|
history
diff --git
a/ginsh/ginsh_parser.yy
b/ginsh/ginsh_parser.yy
index
52a134f
..
7e9049f
100644
(file)
--- a/
ginsh/ginsh_parser.yy
+++ b/
ginsh/ginsh_parser.yy
@@
-145,7
+145,7
@@
line : ';'
long i = ex_to_numeric(e).to_long();
cout << i << endl;
cout << "#o" << oct << i << endl;
- cout << "#x" << hex << i << endl;
+ cout << "#x" << hex << i <<
dec <<
endl;
} catch (exception &e) {
cerr << e.what() << endl;
YYERROR;