Hi Tam=E1s, here something very interesting! "GMP is a free library for arbitrary precision arithmetic, operating on sig= ned 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 usin= g > 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 al= l > 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 double > and use the math library and then convert that back to the internal type = -- > 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 about >> the complexity of Calculator design. >> >> I have coded emulations of several HP models in the past and it was an e= ye >> opening experience. Especially good at teaching you the short comings of >> the Float Type in most languages. I reverted to performing BCD Arithmet= ic >> like HP did in most of their models. >> >> I bought the DVD set from the HP Calculator Museum and it was a great he= lp. >> >> >> >> >> >> On 5 April 2013 12:54, Tamas Rudnai wrote: >> >>> Thank you! >>> >>> Well, a simple four function calculator is one of the most popular type >> of >>> projects for picking up iOS development. Adding newer and newer feature= s >>> just makes the whole lot complicated by the end. At first I thought thi= s >>> will be super easy, then ended up fairly complex code. However the most >>> difficult I have found was to design it, what functions to include, how >> 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 one >> of >>> the free courses on iTunes U (iTunes University). You can follow lesson= s >>> 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 development >>> 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 >> > > --=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 .