Skip to content

Basic Arithmetic Operations

DJMcMayhem edited this page Feb 16, 2017 · 31 revisions

##Equals

({}[{}]<(())>){((<{}{}>))}{}

##Not Equals

({}[{}](<()>)){{}{}(<(())>)}{}

##Addition

({}{})

##Subtraction

([{}]{})

##Multiplication (Positive only)

({}<>)({<({}[()])><>({})<>}{}<><{}>)

(courtesy of Stack Exchange user MegaTom)

##Multiplication

([({}<([({}(<()>))<>](<()>))<>>)<>]){({}[()]<(({})<({}{})>)>)<>}{}{}<>{}{}{}<>

(courtesy of Stack Exchange user Riley)

##Integer Division (Positive only)

({}(<>))<>([()]{()<(({})){({}[()])<>}{}>}{}<><{}{}>)

##Integer Division

(()()){({}[()]<([([({})](<()>))](<>())){({}())<>}{}<>{}{}<>(({})){{}{}<>(<(())>)}{}(({})<>)<>{(<{}([{}])>)}{}({}<>)<>({}<><({}<>)>)>)}{}({}(<>))<>([()]{()<(({})){({}[()])<>}{}>}{}<><{}{}>)<>(({}{}[(())])){{}{}(((<{}>)))}{}{}{(<{}<>([{}])><>)}{}<>

##Modulo (Positive only)

({}(<>))<>{(({})){({}[()])<>}{}}{}<>([{}()]{})

(courtesy of Stack Exchange user feersum)

##Factorial

({}<(())>){(({}<>)[()]<({<({}[()])><>({})<>}{}<><{}>)>)}{}

(courtesy of Stack Exchange user Mega Tom)