Arithmetic
Everything on SkillVeris tagged Arithmetic — collected across the glossary, study notes, blog, and cheat sheets.
18 resources across 1 library
Study Notes(18)
Arithmetic in Prolog
Learn how Prolog evaluates arithmetic expressions with is/2, the difference between unification and arithmetic comparison, and common numeric predicates.
R Operators
A tour of R's arithmetic, relational, logical, and special operators, including vectorized behavior and common pitfalls like && vs &.
Julia Operators and Expressions
Julia's arithmetic, comparison, and logical operators, the dot-broadcasting syntax, and how the language's expression-oriented design ties it all together.
D Operators and Expressions
How D's arithmetic, comparison, logical, and special operators like ^^, .., and is work, with a focus on gotchas like integer division.
Lua Operators
A tour of Lua's arithmetic, relational, logical, concatenation, and length operators, including the truthiness rules that surprise newcomers.
Perl Operators
A tour of Perl's arithmetic, string, comparison, logical, and assignment operators, and the pitfalls of mixing numeric and string comparisons.
Scala Operators and Expressions
How Scala treats operators as method calls, covers arithmetic, comparison, and logical operators, and why almost everything in Scala is an expression that retu…
MOVE and Arithmetic Statements
Learn how COBOL's MOVE statement reformats data between fields and how ADD, SUBTRACT, MULTIPLY, DIVIDE, and COMPUTE perform arithmetic with proper rounding and…
Arithmetic Instructions
Understand how ADD, SUB, ADC, SBB, MUL, IMUL, DIV, IDIV, INC, DEC, and NEG compute results and update the FLAGS register in x86 assembly.
Pointers and Indirection
How addresses, dereferencing, pointer arithmetic, LEA, and multiple levels of indirection work at the machine level in x86-64 assembly.
Arithmetic Operators in C++
Learn how C++ arithmetic operators (+, -, *, /, %) work, including integer division truncation and modulo rules, with runnable examples.
Pointer Arithmetic in C++
Understand how adding or subtracting integers from a pointer moves it by whole elements, scaled by the size of the pointee type.
Operators in Java
Explore Java's arithmetic, relational, logical, bitwise, assignment, unary, ternary, and instanceof operators along with operator precedence.
Operators in Python
An overview of Python's arithmetic, comparison, logical, assignment, bitwise, identity, and membership operators with precedence rules.
Operators in JavaScript
Survey JavaScript's arithmetic, comparison, logical, and ternary operators and how they behave with type coercion.
Operators in C#
A tour of C#'s arithmetic, comparison, logical, assignment, and null-conditional operators, including precedence rules and operator overloading basics.
Operator Overloading
Learn how Ruby implements operators as ordinary methods, letting you define custom `+`, `==`, `<<`, and other operators on your own classes for expressive, idi…
Operators in Ruby
A tour of Ruby's arithmetic, comparison, logical, assignment, and range operators, including the fact that most operators are actually method calls.