realprecision = 38 significant digits echo = 1 (on) ? +3 3 ? -5 -5 ? 5+3 8 ? 5-3 2 ? 5/3 5/3 ? 5\3 1 ? 5\/3 2 ? 5%3 2 ? 5^3 125 ? binary(65537) [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] ? bittest(10^100,100) 1 ? ceil(-2.5) -2 ? centerlift(Mod(456,555)) -99 ? component(1+O(7^4),3) 1 ? conj(1+I) 1 - I ? conjvec(Mod(x^2+x+1,x^3-x-1)) [4.0795956234914387860104177508366260325, 0.46020218825428060699479112458168 698369 + 0.18258225455744299269398828369501930573*I, 0.460202188254280606994 79112458168698369 - 0.18258225455744299269398828369501930573*I]~ ? truncate(1.7,&e) 1 ? e -1 ? denominator(12345/54321) 18107 ? divrem(345,123) [2, 99]~ ? divrem(x^7-1,x^5+1) [x^2, -x^2 - 1]~ ? floor(-1/2) -1 ? floor(-2.5) -3 ? frac(-2.7) 0.30000000000000000000000000000000000000 ? I^2 -1 ? imag(2+3*I) 3 ? lex([1,3],[1,3,5]) -1 ? max(2,3) 3 ? min(2,3) 2 ? Mod(-12,7) Mod(2, 7) ? Mod(-12,7,1) Mod(2, 7) ? Mod(10873,49649)^-1 *** impossible inverse modulo: Mod(131, 49649). ? norm(1+I) 2 ? norm(Mod(x+5,x^3+x+1)) 129 ? numerator((x+1)/(x-1)) x + 1 ? 1/(1+x)+O(x^20) 1 - x + x^2 - x^3 + x^4 - x^5 + x^6 - x^7 + x^8 - x^9 + x^10 - x^11 + x^12 - x^13 + x^14 - x^15 + x^16 - x^17 + x^18 - x^19 + O(x^20) ? numtoperm(7,1035) [4, 7, 1, 6, 3, 5, 2] ? permtonum([4,7,1,6,3,5,2]) 1035 ? 37. 37.000000000000000000000000000000000000 ? real(5-7*I) 5 ? arat=(x^3+x+1)/x^3;type(arat,14) (x^3 + x + 1)/x^3 ? shift(1,50) 1125899906842624 ? shift([3,4,-11,-12],-2) [0, 1, -2, -3] ? shiftmul([3,4,-11,-12],-2) [3/4, 1, -11/4, -3] ? sign(-1) -1 ? sign(0) 0 ? sign(0.) 0 ? simplify(((x+I+1)^2-x^2-2*x*(I+1))^2) -4 ? sizedigit([1.3*10^5,2*I*Pi*exp(4*Pi)]) 7 ? truncate(-2.7) -2 ? truncate(sin(x^2)) -1/5040*x^14 + 1/120*x^10 - 1/6*x^6 + x^2 ? type(Mod(x,x^2+1)) "t_POLMOD" ? valuation(6^10000-1,5) 5 ? \p57 realprecision = 57 significant digits ? Pi 3.14159265358979323846264338327950288419716939937510582097 ? \p38 realprecision = 38 significant digits ? O(x^12) O(x^12) ? padicno=(5/3)*127+O(127^5) 44*127 + 42*127^2 + 42*127^3 + 42*127^4 + O(127^5) ? padicprec(padicno,127) 5 ? length(divisors(1000)) 16 ? getheap [65, 918] ? print("Total time spent: ",gettime); Total time spent: 10 ? \q