You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we add more frequently used built-in variables like
// Zero constant, to make computations faster.// Zero should never be compared with == or != directly, please use decimal.Equal or decimal.Cmp instead.varZero=New(0, 1)
// One constant, to make computations faster.// One should never be compared with == or != directly, please use decimal.Equal or decimal.Cmp instead.varOne=New(1, 0)
// Two constant, to make computations faster.// Two should never be compared with == or != directly, please use decimal.Equal or decimal.Cmp instead.varTwo=New(2, 0)
......
The text was updated successfully, but these errors were encountered:
Hi @Halimao. Sure I will consider it :D Personally, I would opt for adding just essential constants, to not overload the API surface with unnecessary ones.
Can we add more frequently used built-in variables like
At lease add variables for following
The text was updated successfully, but these errors were encountered: