I also Faced the same problem when i tried this one and when i got to know the mistake it was not very happy :(
Use methods powl and log10l instead of pow and log10 and u will get 9 digits of precision :) On Tue, Oct 4, 2011 at 10:21 PM, gaurav yadav <gauravyadav1...@gmail.com>wrote: > n k > > 34 9 : 117566389 > > 23 8 : 20880467 > > 92 9 : 466101087 > > 199 7 : 2963208 > > 234232 9 : 943982129 > > 3476566 9 : 226270832 > > 569999999 9 : 349261536 > > 999999999 9 : 367879441 > > 567891234 9 : 191465113 > > 457474575 9 : 278660968 > > > (got these from the comments section.) > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Sunny Aggrawal B.Tech. V year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.