Top
Back: number expressions
Forward: number related functions
FastBack: module
FastForward: package
Up: number
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.13.3 number operations

+
addition
-
negation or subtraction
*
multiplication
/
division
^, **
power, exponentiation (by an integer)
<=, >=, ==, <>
comparison
mod
integer modulo (the remainder of the division div), always non-negative

Note: Quotient and exponentiation is only recognized as a number expression if it is already a number, see Miscellaneous oddities.
For the behavior of comparison operators in rings with ground field different from real or the rational numbers, see boolean expressions.


Example:
 


Top Back: number expressions Forward: number related functions FastBack: module FastForward: package Up: number Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.