Re:Why Python's Integer Division Floors (2010)
by Karellen on Wednesday February 28, 2024 @11:51AM
(#39540586)
> Modulo is not an operator,
"operator" is being used as a term of art in programming language design, to describe a symbol used to indicate that an operation should be performed on one or more operands.
So the "%" symbol is an operator in C and Python, and it is standard usage to describe the operator that performs a mathematical function "X" as the "X operator".
"operator" is being used as a term of art in programming language design, to describe a symbol used to indicate that an operation should be performed on one or more operands.
https://en.wikipedia.org/wiki/Operator_(computer_programming...
So the "%" symbol is an operator in C and Python, and it is standard usage to describe the operator that performs a mathematical function "X" as the "X operator".