Mercurial > hg > octave-nkf
changeset 1204:68d147abe7ca
[project @ 1995-04-04 01:42:14 by jwe]
author | jwe |
---|---|
date | Tue, 04 Apr 1995 01:42:14 +0000 |
parents | da56532815ee |
children | 8302fab9fe24 |
files | src/pt-const.h |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -300,6 +300,14 @@ int force_vec_conv = 0) const { return rep->complex_vector_value (); } +// Binary and unary operations. + + friend tree_constant do_binary_op (tree_constant& a, tree_constant& b, + tree_expression::type t); + + friend tree_constant do_unary_op (tree_constant& a, + tree_expression::type t); + // Conversions. These should probably be private. If a user of this // class wants a certain kind of constant, he should simply ask for // it, and we should convert it if possible.