| Dirk Laurie on Sun, 17 Jun 2012 19:48:23 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Lifting a quadgen |
Consider the following GP session. ? phi=quadgen(5) %1 = w ? L(n)=phi^n+(-1/phi)^n %2 = (n)->phi^n+(-1/phi)^n ? L6=L(6) %3 = 18 ? type(L6) %4 = "t_QUAD" ? type(%3) %5 = "t_INT" Two questions. - Why are %3 and L6 of different type? - Can one lift L6 to t_INT except by ugly kludges like floor(1.*L6)?