Number - (Arithmetical | Numerical | Mathematical) Operators

Data System Architecture

About

Number operators

Elementary

Number - Arithmetic (Function|Operation)

Addition (+)

<math>addend + addend = sum </math>

x=1
x+=1
print x
# 2

Subtraction (−)

<math>minuend − subtrahend = difference</math>

Subtraction (-)

Division (÷ / )

Division (/)

dividend ÷ divisor = quotient

Python:

>>> 3/2
1.5

Multiplication (×)

<math> multiplicand × multiplier = product </math>

Integer

Integer Division (Truncating)

Python:

>>> 3//2
1

Modulo

count_to = 1 + 2

Expo / Log

Exponentiation

Exponentiation is a mathematical operation involving two numbers, the base (b) and the exponent (n) (or index or power).

<math>base^{exponent} = power</math>

<math>b^n = power</math>

Exponentiation (**).

Logarithm

Mathematics - Logarithm Function (log)

<math> log_{base}(power) = exponent </math>

Increment/ decrement

  • ++: increment
  • decrement





Discover More
Java Conceptuel Diagram
Java - Integer

integer data type in Java. int (or Integer) is the 32 bit implementation of an integer. Java can also store an integer on 64 bit with a long. An integer in java is a sub-class of number They are...
Java Conceptuel Diagram
Java - long - Long (integer 64 bit)

In Java, the long data type stores integer on 64 bit while the integer data type stores integer on 32bit. The primitive wrapper java/lang/LongLong is a subclass of java/lang/NumberNumber in java ...
Javascript - Number (Double)

Most programming languages have several types of numeric data, but JavaScript gets away with just one. All numbers are and are stored as doubles. See also': 32 bit 53 bit - the max of double-precision...
Card Puncher Data Processing
Language - Assignment

An assignment is an expression that gives a value to a variable. assignmentstatementexpression assignmentstatementassignment In its simplest form, an assignment statement has a variable on the...
Card Puncher Data Processing
Language - Operator

An operator is a symbol (token) that compose an expression. It operates on values on its side (left and/or right). They represents a function but where the argument are on both side of it. This...
Data System Architecture
Mathematics - Exponentiation (square, cube) - Power

Exponentiation is a binary operation involving two numbers: the base (b) the exponent (n) (or index or power). In text notation or computer language, generally the exponentiation operator...
Data System Architecture
Number - Field

A field is a collection of “numbers” with the operator: +, -, , / Different fields are like different classes obeying to the same interface. Same as ?? A field is also known as abody: corps...
Data System Architecture
Ordinal Data - Comparison Operator (Order, Equality)

A comparison operator is a class of operators that model: a order or a equivalence relationship A comparison operator test the order relationship between two operands and returns a Boolean. The...



Share this page:
Follow us:
Task Runner