math icon indicating copy to clipboard operation
math copied to clipboard

Ancillary Mathematical functions

Results 3 math issues
Sort by recently updated
recently updated
newest added

Hello Dave, Thanks for the great package! I was looking for an elegant way of getting max/min of a slice of structs. ```go // Example type benchmark struct { time...

big.Int instances are mutable. Which means that if a caller calls math.MaxBigInt(a, b) and later changes a or b, then what math.MaxBigInt returned could change unexpectedly Consider the following code...

Standard `math/big` package has no method to calculate `Sqrt` of big float. I have implemented this function for this exercise - https://github.com/plutov/practice-go/tree/master/sumdecimal. I can contribute into `pkg/math` if it's necessary...