Changeset 18c55e1
- Timestamp:
- May 22, 2017, 8:58:56 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 935315d
- Parents:
- 4adbe45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/gmp.c
r4adbe45 r18c55e1 10 10 // Created On : Tue Apr 19 08:55:51 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 22 08: 37:26201713 // Update Count : 53 312 // Last Modified On : Mon May 22 08:55:09 2017 13 // Update Count : 536 14 14 // 15 15 … … 74 74 fn = (Int){0}; fn1 = fn; // 1st case 75 75 sout | (int)0 | fn | endl; 76 fn = (Int){1}; fn2 = fn1; fn1 = fn;// 2nd case76 fn = 1; fn2 = fn1; fn1 = fn; // 2nd case 77 77 sout | 1 | fn | endl; 78 78 for ( int i = 2; i <= 200; i += 1 ) { … … 85 85 sout | "Factorial Numbers" | endl; 86 86 Int fact; 87 fact = (Int){1};// 1st case87 fact = 1; // 1st case 88 88 sout | (int)0 | fact | endl; 89 89 for ( int i = 1; i <= 40; i += 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.