Mercurial > octave-nkf
comparison liboctave/ChangeLog @ 5030:160365410ad4
[project @ 2004-09-24 03:22:23 by jwe]
author | jwe |
---|---|
date | Fri, 24 Sep 2004 03:22:24 +0000 |
parents | 1ec26bdb120c |
children | 8fa98abef34a |
comparison
equal
deleted
inserted
replaced
5029:1ec26bdb120c | 5030:160365410ad4 |
---|---|
1 2004-09-23 John W. Eaton <jwe@octave.org> | |
2 | |
3 * mx-ops: Include scalar zero value in type definitions. | |
4 Delete zero information from ops section. | |
5 * mk-ops.awk: Use type-specific zero info. | |
6 | |
7 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
8 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
9 LHS and RHS. | |
10 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
11 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
12 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
13 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
14 | |
15 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
16 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
17 tree_to_mat_idx. | |
18 | |
19 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
20 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
21 Likewise for the "if (b_val & one)" test. | |
22 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
23 | |
1 2004-09-23 David Bateman <dbateman@free.fr> | 24 2004-09-23 David Bateman <dbateman@free.fr> |
2 | 25 |
3 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | 26 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
4 New macros. Use them to define mixed intX-double and double-intX ops. | 27 New macros. Use them to define mixed intX-double and double-intX ops. |
5 | 28 |