Changes in tests/sum.cfa [8ddedf0:4d978d5]
- File:
-
- 1 edited
-
tests/sum.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/sum.cfa
r8ddedf0 r4d978d5 11 11 // Created On : Wed May 27 17:56:53 2015 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : T ue Jul 16 09:51:37201914 // Update Count : 33 613 // Last Modified On : Thu Jun 6 16:18:22 2019 14 // Update Count : 333 15 15 // 16 16 … … 97 97 S ?++( S & t ) { S temp = t; t += (S){1}; return temp; } 98 98 ofstream & ?|?( ofstream & os, S v ) { return os | v.i | v.j; } 99 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); }99 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); nl( os ); } 100 100 101 101 S s = (S){0}, a[size], v = { low, low }; … … 184 184 S ?++( S & t ) { S temp = t; t += (S){1}; return temp; } 185 185 ofstream & ?|?( ofstream & os, S v ) { return os | v.i | v.j; } 186 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); }187 188 S s = 0, a[size], v = { low, low };186 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); nl( os ); } 187 188 S s = (S){0}, a[size], v = { low, low }; 189 189 for ( int i = 0; i < size; i += 1, v += (S){1} ) { 190 190 s += (S)v;
Note:
See TracChangeset
for help on using the changeset viewer.