For example, if I want to perform r = a * (b - c). I would do:
var r, a, b, c, t big.Int
t.Sub(&b, &c)
r.Mul(&a, &t)
In package documentation, it says that operations return result to allow chaining. But since the used variable isn't used as operator argument, but only to store result, how can I chain operations? In other words, how could I write my exemple using only one line of code, without temporary variable t
?