oops! that's actually a**1024 ...was rushing and typed the Printf legend too quickly.
On Mon, Aug 28, 2017 at 5:14 PM, Michael Jones <[email protected]> wrote: > I use it frequently / constantly / 24/7 :-) > > it's purpose is to enable integer, rational, and real arithmetic at chosen > precisions greater than the hardware's native CPU arithmetic. > > One property of such thousand or million digit numbers is that they cannot > be moved around the way '5' and '3' are in "j:=5+3"; instead, they are > referred to by address. Since the data may be very large, where to put > temporary values is an important concern for performance and for memory > use. Enabling these means an api that is much more detailed than typical > higher-level language math. > > I regret that it is not simpler and more natural (thus various go > proposals) but even as it it is it's great! > > https://play.golang.org/p/-FbM22rv4u > > On Mon, Aug 28, 2017 at 3:33 PM, Alex Dvoretskiy <[email protected]> > wrote: > >> Does anyone uses package "math/big"? And what purpose? >> >> It looks like hard package to work with. At least at the beggining. >> Even simple line of code takes some efforts to convert to big.Float: >> >> y := float64(py) / float64(heightP) * (ymax - ymin) + ymin >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Michael T. Jones > [email protected] > -- Michael T. Jones [email protected] -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
