The following rings are initially present in every session with Macaulay 2.
(The names of these rings are double letters so the corresponding symbols with single letters can be used as variables in rings.) Entries of these rings are constructed as follows, and the usual arithmetic operations apply.
i1 : 1234 |
i2 : 123/4 |
i3 : 123.4 |
i4 : 123+4*ii |
The usual arithmetic operations are available.
i5 : 4/5 + 2/3 |
i6 : 10^20 |
i7 : 3*5*7 |
i8 : 5! |
An additional pair of division operations that produce integral quotients and remainders is available.
i9 : 1234//100 |
i10 : 1234%100 |