comparison src/pt-const.h @ 1041:7dbf5bb19bde

[project @ 1995-01-18 15:06:19 by jwe]
author jwe
date Wed, 18 Jan 1995 15:07:02 +0000
parents dfe01093f657
children e2036dce97ea
comparison
equal deleted inserted replaced
1040:ba91ca569177 1041:7dbf5bb19bde
239 // Is this constant valid as a scalar index? 239 // Is this constant valid as a scalar index?
240 240
241 int valid_as_scalar_index (void) const 241 int valid_as_scalar_index (void) const
242 { return rep->valid_as_scalar_index (); } 242 { return rep->valid_as_scalar_index (); }
243 243
244 // Is this constant valid as a zero scalar index?
245
246 int valid_as_zero_index (void) const
247 { return rep->valid_as_zero_index (); }
248
244 // Does this constant correspond to a truth value? 249 // Does this constant correspond to a truth value?
245 250
246 int is_true (void) const { return rep->is_true (); } 251 int is_true (void) const { return rep->is_true (); }
247 252
248 // Is at least one of the dimensions of this constant zero? 253 // Is at least one of the dimensions of this constant zero?