Changeset 1067


Ignore:
Timestamp:
Jul 30, 2003, 12:29:01 PM (17 years ago)
Author:
pooh
Message:
  • Func term type implemented (requires some compiler support). Apply module implemented.
Location:
to-imperative/trunk/samples/Arithm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/samples/Arithm/div.cc

    r1051 r1067  
    1919static const Expr _c_3 = ShortInt::create_expr (2147483647);
    2020
    21 static const Expr _c_4 = Integer::create_expr ("2147483648");
     21static const Expr _c_4 = Int::create_expr (2147483648);
    2222
    2323static const Expr _c_5 = ShortInt::create_expr (2);
     
    2727static const Expr _c_7 = ShortInt::create_expr (22345);
    2828
    29 static const Expr _c_8 = Integer::create_expr ("-2147483648");
     29static const Expr _c_8 = Int::create_expr (-2147483648);
    3030
    31 static const Expr _c_9 = Integer::create_expr ("-2147483649");
     31static const Expr _c_9 = Int::create_expr (-2147483649);
    3232
    33 static const Expr _c_10 = Integer::create_expr ("-2147483648123456789078654321");
     33static const Expr _c_10 = Int::create_expr (-2147483648123456789078654321);
    3434
    3535RF_FUNC (Main, (), (RF_RES _v_res1))
  • to-imperative/trunk/samples/Arithm/mult.cc

    r1051 r1067  
    2323static const Expr _c_5 = ShortInt::create_expr (-2147483647);
    2424
    25 static const Expr _c_6 = Integer::create_expr ("2147483648");
     25static const Expr _c_6 = Int::create_expr (2147483648);
    2626
    2727static const Expr _c_7 = ShortInt::create_expr (10);
     
    3131static const Expr _c_9 = ShortInt::create_expr (-10);
    3232
    33 static const Expr _c_10 = Integer::create_expr ("-2147483648");
     33static const Expr _c_10 = Int::create_expr (-2147483648);
    3434
    3535static const Expr _c_11 = ShortInt::create_expr (614189);
  • to-imperative/trunk/samples/Arithm/rem.cc

    r1052 r1067  
    1515static const Expr _c_1 = ShortInt::create_expr (-11);
    1616
    17 static const Expr _c_2 = Integer::create_expr ("-11111111111");
     17static const Expr _c_2 = Integer::create_expr (-11111111111);
    1818
    1919static const Expr _c_3 = Integer::create_expr ("-2147483649");
  • to-imperative/trunk/samples/Arithm/sub.cc

    r1051 r1067  
    2323static const Expr _c_5 = ShortInt::create_expr (-1);
    2424
    25 static const Expr _c_6 = Integer::create_expr ("-21474836476");
     25static const Expr _c_6 = Int::create_expr (-21474836476);
    2626
    2727static const Expr _c_7 = ShortInt::create_expr (32);
    2828
    29 static const Expr _c_8 = Integer::create_expr ("21474836476");
     29static const Expr _c_8 = Int::create_expr (21474836476);
    3030
    3131static const Expr _c_9 = ShortInt::create_expr (11);
     
    3333static const Expr _c_10 = ShortInt::create_expr (-11);
    3434
    35 static const Expr _c_11 = Integer::create_expr ("21474836471");
     35static const Expr _c_11 = Int::create_expr (21474836471);
    3636
    37 static const Expr _c_12 = Integer::create_expr ("-21474836471");
     37static const Expr _c_12 = Int::create_expr (-21474836471);
    3838
    39 static const Expr _c_13 = Integer::create_expr ("2147483647789364567");
     39static const Expr _c_13 = Int::create_expr (2147483647789364567);
    4040
    41 static const Expr _c_14 = Integer::create_expr ("-2147483647789364567");
     41static const Expr _c_14 = Int::create_expr (-2147483647789364567);
    4242
    4343RF_FUNC (Main, (), (RF_RES _v_res1))
Note: See TracChangeset for help on using the changeset viewer.