Annotation of 43BSD/contrib/icon/book/f/symmpy.icn, revision 1.1.1.1

1.1       root        1: procedure mpy(arg1,arg2)
                      2:    return {
                      3:       (integer(arg1) * integer(arg2)) |
                      4:       (if (arg1 | arg2) == "0" then "0") |
                      5:       (if arg1 == arg2 then symop(arg2,"^","2")) |
                      6:       (if arg1 == "1" then arg2) |
                      7:       (if arg2 == "1" then arg1) |
                      8:       symop(arg1,"*",arg2)
                      9:       }
                     10: end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.