You don't happen to have a Pi-generating algorithm around? :)
I suppose Gmp.mpf("3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273",32*256,10); will give you something close to Pi. However, still note that sprintf %f and cast to string is broken for mpf, so I guess you'll have to do something else (cast to float?).
/ Mirar
Previous text:
2003-02-25 11:20: Subject: Re: Do we have a floatingpoint bug?
ahh, then i missunderstood how mpf works. ok, now how do i get the value of pi into Gmp.mpf?
greetings, martin.
/ Brevbäraren