Skip to content

Basic Arithmetic Operations

Wheatwizard edited this page Jul 3, 2018 · 31 revisions

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)

Parity (Positive only)

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

Absolute value

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

Factorial

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

(courtesy of Stack Exchange user Mega Tom)