Changeset 18c55e1


Ignore:
Timestamp:
May 22, 2017, 8:58:56 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

remove superfluous casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/gmp.c

    r4adbe45 r18c55e1  
    1010// Created On       : Tue Apr 19 08:55:51 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon May 22 08:37:26 2017
    13 // Update Count     : 533
     12// Last Modified On : Mon May 22 08:55:09 2017
     13// Update Count     : 536
    1414//
    1515
     
    7474        fn = (Int){0}; fn1 = fn;                                                        // 1st case
    7575        sout | (int)0 | fn | endl;
    76         fn = (Int){1}; fn2 = fn1; fn1 = fn;                                     // 2nd case
     76        fn = 1; fn2 = fn1; fn1 = fn;                                            // 2nd case
    7777        sout | 1 | fn | endl;
    7878        for ( int i = 2; i <= 200; i += 1 ) {
     
    8585        sout | "Factorial Numbers" | endl;
    8686        Int fact;
    87         fact = (Int){1};                                                                        // 1st case
     87        fact = 1;                                                                                       // 1st case
    8888        sout | (int)0 | fact | endl;
    8989        for ( int i = 1; i <= 40; i += 1 ) {
Note: See TracChangeset for help on using the changeset viewer.