[algogeeks] Re: large nos
@Mac: Regarding your question to Don: Did you try google before you asked? If not, why not? Regarding your question to me: The basic unit of numbers are digits. You may not have realized it, but when you were in elementary school you learned how to represent numbers as arrays of digits, and how to perform the basic arithmetic operations on those arrays. Now, generalizing, your basic unit of large numbers are ints, and you represent large numbers as arrays of ints. You perform the operations in the array of ints in the same way you learned to perform them of arrays of digits in elementary school. Dave On Aug 24, 9:09 pm, MAC wrote: > @don : can you please share some link for NTL ??? > @dave i am unable to understand what you mean ... this is because since > these are very large numbers i can never save them as integers in ints or > longs , so how ?? > > On Wed, Aug 24, 2011 at 11:57 PM, Debabrata Das < > > > > > > debabrata.barunhal...@gmail.com> wrote: > > well if you store value in link list as a polynomial the you can do > > multiplication as cross product. > > eg. 345=3*100 + 4*10 + 5*1 > > > On Wed, Aug 24, 2011 at 11:53 PM, Don wrote: > > > Use NTL. > > > Don > > > > On Aug 24, 12:43 pm, MAC wrote: > > >> any thoughts ? if we have link lists to represent very large integer > > numbers > > >> how to implement multiply and devide operator > > >> -- > > >> thanks > > >> --mac > > > > -- > > > 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. > > > -- > > 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. > > -- > thanks > --mac- Hide quoted text - > > - Show quoted text - -- 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.
Re: [algogeeks] Re: large nos
@don : can you please share some link for NTL ??? @dave i am unable to understand what you mean ... this is because since these are very large numbers i can never save them as integers in ints or longs , so how ?? On Wed, Aug 24, 2011 at 11:57 PM, Debabrata Das < debabrata.barunhal...@gmail.com> wrote: > well if you store value in link list as a polynomial the you can do > multiplication as cross product. > eg. 345=3*100 + 4*10 + 5*1 > > On Wed, Aug 24, 2011 at 11:53 PM, Don wrote: > > Use NTL. > > Don > > > > On Aug 24, 12:43 pm, MAC wrote: > >> any thoughts ? if we have link lists to represent very large integer > numbers > >> how to implement multiply and devide operator > >> -- > >> thanks > >> --mac > > > > -- > > 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. > > > > > > -- > 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. > > -- thanks --mac -- 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.
Re: [algogeeks] Re: large nos
well if you store value in link list as a polynomial the you can do multiplication as cross product. eg. 345=3*100 + 4*10 + 5*1 On Wed, Aug 24, 2011 at 11:53 PM, Don wrote: > Use NTL. > Don > > On Aug 24, 12:43 pm, MAC wrote: >> any thoughts ? if we have link lists to represent very large integer numbers >> how to implement multiply and devide operator >> -- >> thanks >> --mac > > -- > 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. > > -- 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.
[algogeeks] Re: large nos
Use NTL. Don On Aug 24, 12:43 pm, MAC wrote: > any thoughts ? if we have link lists to represent very large integer numbers > how to implement multiply and devide operator > -- > thanks > --mac -- 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.
[algogeeks] Re: large nos
@Mac: Think of how you do multidigit multiplication and long division on paper. Dave On Aug 24, 12:43 pm, MAC wrote: > any thoughts ? if we have link lists to represent very large integer numbers > how to implement multiply and devide operator > -- > thanks > --mac -- 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.