-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hello,
I'm working on a CLI RPN calculator using this awesome library, but I'm hitting a roadblock.
In dc
, when we do something like: 2 1234567 ^ p
, we (expectedly) get a very large number. However, when I try do to the same using decimal:
ctx = decimal.ContextUnlimited
z = decimal.WithContext(decimal.ContextUnlimited)
ctx.Pow(z, bigUint(2), bigUint(1234567))
fmt.Printf("%s\n", z)
I get NaN13
, and nothing else.
Is is possible to use this library for very large numbers?
Metadata
Metadata
Assignees
Labels
No labels