You can get the 'bc' package for R, or just use 'bc' itself: bc 1.05 Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 244^244 33351673199434891333790950239586798749134713899690921746779018273444\ 75398673310645133249773025954160733596789166000500186867664357401485\ 87160730684300567846077908572759584281796987638871579388947169645252\ 65884981224005256730735620079297185198463448605170457608557721076573\ 61665848520780522718876972173657918707476536085620731363673111929041\ 83170713323201797482821835264498138162569644028599053754627294465957\ 51701663776258263242051496174799483177057640433668486014770839602370\ 82298835743579080531187365656700060161423751088967180500399136029256\ 656142701941657367182137862147849322496
On Tue, Jul 27, 2010 at 6:34 PM, vincent.deluard <vincent.delu...@trimtabs.com> wrote: > > > Hi all, > > I am dealing with very large numbers but I am only interested in their last > digits. > >> 244^244 > [1] Inf > > As far as I can tell, the largest number R can take has 308 digits (1+E308). > Is there a way I could see the last digits only of 244^244? > > Many thanks for your help. > > Vincent Deluard, CFA. > -- > View this message in context: > http://r.789695.n4.nabble.com/Right-digits-of-a-floating-number-tp2304210p2304210.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.