On 15 May 2012 09:42, Lawson English <lengli...@cox.net> wrote: > On 5/14/12 8:06 PM, Lawson English wrote: >> >> On 5/14/12 8:02 PM, Lawson English wrote: >>> >>> OK, getting closer. However I'm still not quite getting what I expect: >>> >>> >>> f1 := GMPfWrapper new. >>> f2 := GMPfWrapper new. >>> f3 := GMPfWrapper new. >>> f1 set_ui: 50. >>> f2 set_ui: 50. >>> f3 set_ui:50. >>> (f3 +f2) asString ==> '1 >>> > > Doh, its working just fine. the function only returns the minimum digits > required and returns the exponent in the expptr, so 1 has an expptr value of > 3, making it 100.0... > > Sigh. > Right. Yeah, it works just fine, except there is no description what is exp stands for. So you have to guess or look for example code :)
> L. > > -- Best regards, Igor Stasenko.