Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 3090

Macaulay2-1.3.1-8.fc15.i686.rpm

-- -*- M2-comint -*- {* hash: -1362952396 *}

i1 : << 2^100
1267650600228229401496703205376
o1 = stdio

o1 : File

i2 : stdio << 2^100
1267650600228229401496703205376
o2 = stdio

o2 : File

i3 : << "The answer is " << 2^100 << ".";
The answer is 1267650600228229401496703205376.
i4 : << "The answer is " << "aaa"||"bb"||"c" << ".";
The answer is aaa.
              bb
              c
i5 : R = ZZ[x,y];

i6 : f = (x+y+1)^2; g = (x-y+1)^2

      2           2
o7 = x  - 2x*y + y  + 2x - 2y + 1

o7 : R

i8 : << "f = " << f << endl << "g = " << g << endl;
     2           2
f = x  + 2x*y + y  + 2x + 2y + 1
     2           2
g = x  - 2x*y + y  + 2x - 2y + 1

i9 : scan(0 .. 20, i -> << "." << flush)
.....................
i10 : truncateOutput 50

i11 : 41!

o11 = 33452526613163807108170062053440751665152000000000

i12 : 42!

o12 = 1405006117752879898543142606244511569936384000 ...

i13 : 43!

o13 = 6041526306337383563735513206851399750726451200 ...

i14 : truncateOutput infinity

o14 = identity

o14 : CompiledFunction

i15 : 43!

o15 = 60415263063373835637355132068513997507264512000000000

i16 :