Thanks Nicola! Yes, I know this project, it looks promising, and currently investigating if I can use this for my needs. This can be used for calculating the million digit PI :-) Tamas On 11 April 2013 16:04, Nicola Perotto wrote: > Hi Tam=E1s, > here something very interesting! > > "GMP is a free library for arbitrary precision arithmetic, operating on > signed > integers, rational numbers, and floating point numbers." > http://gmplib.org > > Bye > Nicola > > > On 05/04/2013 20:08, Tamas Rudnai wrote: > > Interesting stuff with the BCD calculation there. Did you write > > all math functions from scratch? > > > > I am entering the digits into a string and then convert and store it > using > > the iOS (Objective C to be more precise) internal number format, which = is > > able to store and calculate with too many digits I cannot even display > all > > of them. That works for basic things very well and has a very high > > precision, but for few functions I need to convert that to 64 bit doubl= e > > and use the math library and then convert that back to the internal typ= e > -- > > which obviously losing some precision, but still, it is good enough for > > most things I hope. > > > > Do you have links to your calc? > > > > Tamas > > > > > > On 5 April 2013 04:15, Chris Roper wrote: > > > >> I haven't tried coding for iOS or Android but I hear what you say abou= t > >> the complexity of Calculator design. > >> > >> I have coded emulations of several HP models in the past and it was an > eye > >> opening experience. Especially good at teaching you the short comings = of > >> the Float Type in most languages. I reverted to performing BCD > Arithmetic > >> like HP did in most of their models. > >> > >> I bought the DVD set from the HP Calculator Museum and it was a great > help. > >> > >> > >> > >> > >> > >> On 5 April 2013 12:54, Tamas Rudnai wrote: > >> > >>> Thank you! > >>> > >>> Well, a simple four function calculator is one of the most popular ty= pe > >> of > >>> projects for picking up iOS development. Adding newer and newer > features > >>> just makes the whole lot complicated by the end. At first I thought > this > >>> will be super easy, then ended up fairly complex code. However the mo= st > >>> difficult I have found was to design it, what functions to include, h= ow > >> to > >>> arrange the buttons yet to keep it relatively simple to use. And of > >> course > >>> endless hours of bug fixing and polishing the user experience. Now I > >> have a > >>> different respect to calculator manufacturers like TI and HP :) > >>> > >>> To pick up iOS development the best I have found is to subscribe to o= ne > >> of > >>> the free courses on iTunes U (iTunes University). You can follow > lessons > >>> from Stanford for example on your Mac or iPad or iPhone even. That > >> teaches > >>> you Objective C as well as the architectures and the API and a bit > more. > >> It > >>> is good fun :) > >>> > >>> Tamas > >>> > >>> Sent from my iPad > >>> > >>> On Apr 4, 2013, at 10:58 PM, Scott wrote: > >>> > >>>> Just downloaded and played with the app a bit. Great features for a > >>> software/electrical engineer. Thank you! > >>>> How difficult was it to build? I've been interested in iOS developme= nt > >>> for a while now but haven't jumped in yet. > >>>> -Scott > >>>> -- > >>>> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > >>>> View/change your membership options at > >>>> http://mailman.mit.edu/mailman/listinfo/piclist > >>> -- > >>> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > >>> View/change your membership options at > >>> http://mailman.mit.edu/mailman/listinfo/piclist > >>> > >> -- > >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > >> View/change your membership options at > >> http://mailman.mit.edu/mailman/listinfo/piclist > >> > > > > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .