Download The xint bundle
Transcript
29 Commands of the xintseries package 1.099999999999083906. . . 1.199999998111624029. . . 1.299999835744121464. . . 1.399996091955359088. . . 1.499954310225476533. . . 1.599659266069210466. . . 1.698137473697423757. . . 1.791898112718884531. . . 1.870485649686617459. . . 1.907197560339468199. . . 1.845117565491393752. . . 1.593831932293536053. . . These completely exact operations rapidly create numbers with many digits. Let us print in full the raw fractions created by the operation illustrated above: E(L(1[-1]))=4355349527343049937531284783056957554465259984189164206 56308534427154141471013807206588202981046013155342233701289165089056 83005693656447898877952000000000/39594086612242519324387557078266845 776303882240000000000000000000[-90] (length of numerator: 155) E(L(12[-2]))=443453770054417465442109252347264824711893599160411729 60388258419808415322610807070750589009628030597103713328020346412371 55887714188380658982959014134632946402759999397422009303463626532643 5417048639843167445553122713679545984140443648000000000/395940866122 42519324387557078266845776303882240000000000000000000[-180] (length of numerator: 245) E(L(123[-3]))=44464159265194177715425414884885486619895497155261639 00742959135317921138508647797623508008144169817627741486630524932175 66759754097977420731516373336789722730765496139079185229545102248282 39119962102923779381174012211091973543316113275716895586401771088185 05853950798598438316179662071953915678034718321474363029365556301004 8000000000/395940866122425193243875570782668457763038822400000000000 00000000[-270] (length of numerator: 335) We see that the denominators here remain the same, as our input only had various powers of ten as denominators, and xintfrac efficiently assemble (some only, as we can see) powers of ten. Notice that 1 more digit in an input denominator seems to mean 90 more in the raw output. We can check that with some other test cases: E(L(1/7))=518138516117322604916074833164833344883840590133006168125 12534667430913353255394804713669158571590044976892591448945234186435 1924224000000000/453371201621089791788096627821377652892232653817581 52546654836095087089601022689942796465342115407786358809263904208715 7760000000000000000000[0] (length of numerator: 141; length of denominator: 141) E(L(1/71))=16479948917721955649802595580610709825615810175620936986 46571522821497800830677980391753251868507166092934678546038421637547 16919123274624394132188208895310089982001627351524910000588238596565 3808879162861533474038814343168000000000/162510607383091507102283159 26583043448560635097998286551792304600401711584442548604911127392639 47128502616674265101594835449174751466360330459637981998261154868149 55381536472641379276308916890414267771321449447424000000000000000000 0[0] (length of numerator: 232; length of denominator: 232) E(L(1/712))=2096231738801631206754816378972162002839689022482032389 43136902264182865559717266406341976325767001357109452980607391271438 07919507395930152825400608790815688812956752026901171545996915468879 90896257382714338565353779187008849807986411970218551170786297803168 353530430674157534972120128999850190174947982205517824000000000/2093 29172233767379973271986231161997566292788454774484652603429574146596 121